{ "about": { "trial": true, "author": { "name": "EMQ", "email": "contact@emqx.io", "company": "EMQ Technologies Co., Ltd", "website": "https://www.emqx.io" }, "helpUrl": { "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/plugin/sql.html", "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sinks/plugin/sql.html" }, "description": { "en_US": "This a sink plugin for Sql based Database, it can be used for saving the analysis data into Sql based database.", "zh_CN": "本插件为 SQL Database 的持久化插件,可以用于将分析数据存入支持 SQL 语法的数据库中" } }, "libs": [ ], "properties": [{ "name": "url", "default": "", "optional": false, "control": "text", "type": "string", "hint": { "en_US": "The url of the database", "zh_CN": "数据库服务器的 URL" }, "label": { "en_US": "server address", "zh_CN": "数据库地址" } }, { "name": "table", "default": "", "optional": false, "control": "text", "type": "string", "hint": { "en_US": "Table name", "zh_CN": "表名" }, "label": { "en_US": "Table name", "zh_CN": "表名" } }, { "name": "tableDataField", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "table Data from Stream Field", "zh_CN": "表数据来源" }, "label": { "en_US": "Table Data from Stream Field", "zh_CN": "表数据来源" } }, { "name": "rowkindField", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "Specify which field represents the action like insert or update. If not specified, all rows are default to insert", "zh_CN": "指定哪个字段表示操作,例如插入或更新。如果不指定,默认所有的数据都是插入操作" }, "label": { "en_US": "Rowkind Field", "zh_CN": "动作字段" } }, { "name": "keyField", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "Specify which field is the primary key. If rowKindField is set this field is required.", "zh_CN": "指定哪个字段为主键字段。如果设置了 rowKindField 则本属性必填。" }, "label": { "en_US": "Key Field", "zh_CN": "Key 字段" } } ], "node": { "category": "sink", "icon": "iconPath", "label": { "en": "SQL", "zh": "SQL" } } }