1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
| { "id": "MSSQL", "name": "MSSQL", "description": "sqlserver数据库插件,可通过该插件执行一系列的数据库相关操作", "version": "1.0.2", "author": "chendi", "language": "python", "license": "Official", "main": "index.py", "uiauto_config": { "attribution_id": "database", "attribution_name": "数据库", "operations": [ { "category_id": "mssql_database", "category_name": "SqlServer", "operation_id": "connectMSsql", "operation_name": "连接数据库", "method": "connectMSsql", "type": "Convention", "input": [ { "name": "必填属性", "id": "required_params", "properties": [ { "id": "database_name", "name": "数据库名", "type": "text", "required": true, "value": "" }, { "id": "username", "name": "用户名", "type": "text", "required": true, "value": "" }, { "id": "password", "name": "密码", "type": "password", "required": true, "value": "" }, { "id": "host", "name": "服务器", "type": "text", "required": true, "value": "" }, { "id": "port", "name": "端口", "type": "text", "required": true, "value": "1433" }, { "id": "encoding", "name": "字符编码", "type": "text", "required": true, "value": "cp936" } ] } ], "output": { "is_allow_global_use": true, "description": "数据库连接对象", "value": "MSSQL" } }, { "category_id": "mssql_database", "category_name": "MSSQL", "operation_id": "executeSQL", "operation_name": "执行SQL", "method": "executeSQL", "type": "Convention", "input": [ { "name": "必填属性", "id": "required_params", "properties": [ { "id": "connect_message", "name": "数据库对象", "type": "text", "required": true, "value": "${mssql}" }, { "id": "sql", "name": "SQL语句", "type": "code", "required": true, "value": "SELECT * FROM " } ] } ], "output": { "is_allow_global_use": true, "description": "SQL执行返回值", "value": "execute_result" } }, { "category_id": "mssql_database", "category_name": "MSSQL", "operation_id": "closeConnect", "operation_name": "关闭数据库", "method": "closeConnect", "type": "Convention", "input": [ { "name": "必填属性", "id": "required_params", "properties": [ { "id": "connect_message", "name": "数据库对象", "type": "text", "required": true, "value": "${mssql}" } ] } ], "output": { "is_allow_global_use": true, "description": "关闭结果,True or False", "value": "" } } ] } }
|