diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md b/zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md index 1cf9c45b97e349f875a0c8c6edfa21cbf17621c8..0965b2431d919f9d5324b52083b3920bf9f4db82 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-relationalStore.md @@ -249,7 +249,7 @@ class EntryAbility extends UIAbility { deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void -使用指定的数据库文件配置删除数据库,使用callback异步回调。若数据库文件处于公共沙箱目录下,删除数据库时必须使用该接口。 +使用指定的数据库文件配置删除数据库,使用callback异步回调。若数据库文件处于公共沙箱目录下,则删除数据库时必须使用该接口。 当在公共沙箱目录下创建数据库时,必需使用该接口删除数据库。 @@ -388,7 +388,7 @@ class EntryAbility extends UIAbility { deleteRdbStore(context: Context, config: StoreConfig): Promise -使用指定的数据库文件配置删除数据库,使用Promise异步回调。若数据库文件处于公共沙箱目录下,删除数据库时必须使用该接口。 +使用指定的数据库文件配置删除数据库,使用Promise异步回调。若数据库文件处于公共沙箱目录下,则删除数据库时必须使用该接口。 **系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core @@ -470,7 +470,7 @@ class EntryAbility extends UIAbility { | name | string | 是 | 数据库文件名。 | | securityLevel | [SecurityLevel](#securitylevel) | 是 | 设置数据库安全级别 | | encrypt | boolean | 否 | 指定数据库是否加密,默认不加密。
true:加密。
false:非加密。 | -| dataGroupId10+ | string | 否 | 应用组ID。
**模型约束:** 此属性仅可在Stage模式下可用。
从API version 10开始,支持此可选参数。当此参数不填时,默认在本应用沙箱目录下创建数据库。 | +| dataGroupId10+ | string | 否 | 应用组ID。
**模型约束:** 此属性仅在Stage模型下可用。
从API version 10开始,支持此可选参数。当此参数不填时,默认在本应用沙箱目录下创建数据库。 | ## SecurityLevel @@ -3934,7 +3934,7 @@ try { on(event: string, supportShared: boolean, observer: Callback): void -注册数据库的数据变更的事件监听。当调用[emit](#emit10)接口时,将调用回调。 +注册数据库的进程内或者进程间事件监听。当调用[emit](#emit10)接口时,将调用回调。 **系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core @@ -3952,7 +3952,6 @@ on(event: string, supportShared: boolean, observer: Callback): void | **错误码ID** | **错误信息** | | ------------ | -------------------------------------- | -| 801 | Capability not supported. | | 14800000 | Inner error. | | 14800050 | Failed to obtain subscription service. | @@ -4053,7 +4052,6 @@ off(event: string, supportShared: boolean, observer?: Callback): void | **错误码ID** | **错误信息** | | ------------ | -------------------------------------- | -| 801 | Capability not supported. | | 14800000 | Inner error. | | 14800050 | Failed to obtain subscription service. | diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md b/zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md index cf1915518745eff9324e9a1ccfa5d4a248d1f519..d3f6b1fe2fa7636011203ce8ec8f889a152ff7c9 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-data-rdb.md @@ -138,7 +138,7 @@ Failed to obtain subscription service. 需通过日志信息确认错误发生原因。 -## 14801001 上下文环境非Stage模式 +## 14801001 上下文环境非Stage模型 **错误信息** @@ -146,21 +146,21 @@ Failed to obtain subscription service. **错误描述** -该操作仅支持Stage模式。 +该操作仅支持Stage模型。 **可能原因** -当前上下文环境非Stage模式,比如FA模式。 +当前上下文环境非Stage模型。 **处理步骤** -请切换当前上下文环境,使用Stage模式。 +请切换当前上下文环境,使用Stage模型。 ## 14801002 storeConfig中传入的dataGroupId参数非法 **错误信息** -The dataGroupId not valid. +The dataGroupId is not valid. **错误描述**