未验证 提交 a64fb7ef 编写于 作者: M MangTsang 提交者: Gitee

update executeSql code

Signed-off-by: NMangTsang <mang.tsang@huawei.com>
上级 a99ffe04
......@@ -1634,7 +1634,7 @@ executeSql(sql: string, bindArgs: Array&lt;ValueType&gt;, callback: AsyncCallbac
```js
const SQL_DELETE_TABLE = "DELETE FROM test WHERE name = ?"
rdbStore.executeSql(SQL_CREATE_TABLE, ['zhangsan'], function(err) {
rdbStore.executeSql(SQL_DELETE_TABLE, ['zhangsan'], function(err) {
if (err) {
console.info("ExecuteSql failed, err: " + err)
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册