From ea6670e26245fe9f42fa46359bffb059eaf32e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=A7=E9=98=B3=E6=99=BA?= <11433097+ouyangzhi1888@user.noreply.gitee.com> Date: Fri, 19 Aug 2022 07:26:56 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenHarmony=E5=BC=80=E6=BA=90=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E8=80=85=E8=AE=A1=E5=88=922022=E3=80=91application-de?= =?UTF-8?q?v/database/database-datashare-guidelines.md.=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E4=B8=8D=E8=A7=84=E8=8C=83?= =?UTF-8?q?=20=E7=A4=BA=E4=BE=8B=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E4=B8=8D=E8=A7=84=E8=8C=83=20Signed-off-by:=20ouyangzhi1888?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 欧阳智 <11433097+ouyangzhi1888@user.noreply.gitee.com> --- .../database/database-datashare-guidelines.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/database/database-datashare-guidelines.md b/zh-cn/application-dev/database/database-datashare-guidelines.md index c730616e53..55751c1364 100644 --- a/zh-cn/application-dev/database/database-datashare-guidelines.md +++ b/zh-cn/application-dev/database/database-datashare-guidelines.md @@ -172,19 +172,19 @@ DataShare即数据共享模块,提供了向其他应用共享以及管理其 {"name": "WangWu", "age": 21, "Binary": arr}, {"name": "ZhaoLiu", "age": 61, "Binary": arr}); // 插入一条数据 - dsHelper.insert(dseUri, valuesBucket, (err,data) => { + dsHelper.insert(dseUri, valuesBucket, (err, data) => { console.log("dsHelper insert result: " + data); }); // 删除指定的数据 - dsHelper.delete(dseUri, da, (err,data) => { + dsHelper.delete(dseUri, da, (err, data) => { console.log("dsHelper delete result: " + data); }); // 更新数据 - dsHelper.update(dseUri, da, updateBucket, (err,data) => { + dsHelper.update(dseUri, da, updateBucket, (err, data) => { console.log("dsHelper update result: " + data); }); // 查询数据 - dsHelper.query(dseUri, da, valArray, (err,data) => { + dsHelper.query(dseUri, da, valArray, (err, data) => { console.log("dsHelper query result: " + data); }); ``` -- GitLab