未验证 提交 5e48acf3 编写于 作者: O openharmony_ci 提交者: Gitee

!13403 datashare用例使用rdb最新接口

Merge pull request !13403 from 牛东尧/master
...@@ -109,7 +109,7 @@ insert?(uri: string, valueBucket: ValuesBucket, callback: AsyncCallback<numbe ...@@ -109,7 +109,7 @@ insert?(uri: string, valueBucket: ValuesBucket, callback: AsyncCallback<numbe
**示例:** **示例:**
```ts ```ts
import rdb from '@ohos.data.rdb'; import rdb from '@ohos.data.relationalStore';
let DB_NAME = "DB00.db"; let DB_NAME = "DB00.db";
let TBL_NAME = "TBL00"; let TBL_NAME = "TBL00";
...@@ -154,7 +154,7 @@ update?(uri: string, predicates: dataSharePredicates.DataSharePredicates, valueB ...@@ -154,7 +154,7 @@ update?(uri: string, predicates: dataSharePredicates.DataSharePredicates, valueB
**示例:** **示例:**
```ts ```ts
import rdb from '@ohos.data.rdb'; import rdb from '@ohos.data.relationalStore';
let DB_NAME = "DB00.db"; let DB_NAME = "DB00.db";
let TBL_NAME = "TBL00"; let TBL_NAME = "TBL00";
...@@ -196,7 +196,7 @@ delete?(uri: string, predicates: dataSharePredicates.DataSharePredicates, callba ...@@ -196,7 +196,7 @@ delete?(uri: string, predicates: dataSharePredicates.DataSharePredicates, callba
**示例:** **示例:**
```ts ```ts
import rdb from '@ohos.data.rdb'; import rdb from '@ohos.data.relationalStore';
let DB_NAME = "DB00.db"; let DB_NAME = "DB00.db";
let TBL_NAME = "TBL00"; let TBL_NAME = "TBL00";
...@@ -239,7 +239,7 @@ query?(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns ...@@ -239,7 +239,7 @@ query?(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns
**示例:** **示例:**
```ts ```ts
import rdb from '@ohos.data.rdb'; import rdb from '@ohos.data.relationalStore';
let DB_NAME = "DB00.db"; let DB_NAME = "DB00.db";
let TBL_NAME = "TBL00"; let TBL_NAME = "TBL00";
...@@ -284,7 +284,7 @@ batchInsert?(uri: string, valueBuckets: Array<ValuesBucket>, callback: Asy ...@@ -284,7 +284,7 @@ batchInsert?(uri: string, valueBuckets: Array<ValuesBucket>, callback: Asy
**示例:** **示例:**
```ts ```ts
import rdb from '@ohos.data.rdb'; import rdb from '@ohos.data.relationalStore';
let DB_NAME = "DB00.db"; let DB_NAME = "DB00.db";
let TBL_NAME = "TBL00"; let TBL_NAME = "TBL00";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册