diff --git a/en/application-dev/reference/apis/js-apis-distributed-data.md b/en/application-dev/reference/apis/js-apis-distributed-data.md index ed190a2e4e52c1bd771db9dc8448904d15f58031..eb9d6b4f5933cb441dbd7f91324927ade936013e 100644 --- a/en/application-dev/reference/apis/js-apis-distributed-data.md +++ b/en/application-dev/reference/apis/js-apis-distributed-data.md @@ -591,7 +591,7 @@ Defines the KV store constants. ## Schema8+ ## -Defines a database schema. When creating or opening a KV store, you can create **Schema** objects and put them into **Options**. +Defines a database schema. When creating or opening a KV store, you can create a **Schema** object and put it into **Options**. ### toJsonString8+ ### @@ -1096,13 +1096,13 @@ Checks whether the data read position is after the last row. getEntry(): Entry; -Obtains KV pairs. +Obtains a KV pair. - Return value | Type| Description| | ------ | ------- | -| Entry |KV pairs obtained.| +| Entry |KV pair obtained.| - Example @@ -2387,7 +2387,7 @@ Deletes KV pairs in batches from this KV store. This method uses a promise to re startTransaction(callback: AsyncCallback<void>): void; -Starts transactions in this KV store. This method uses an asynchronous callback to return the result. +Starts the transaction in this KV store. This method uses an asynchronous callback to return the result. - Parameters @@ -2437,7 +2437,7 @@ Starts transactions in this KV store. This method uses an asynchronous callback startTransaction(): Promise<void>; -Starts transactions in this KV store. This method uses a promise to return the result. +Starts the transaction in this KV store. This method uses a promise to return the result. - Return value @@ -2470,7 +2470,7 @@ Starts transactions in this KV store. This method uses a promise to return the r commit(callback: AsyncCallback<void>): void; -Commits transactions in this KV store. This method uses an asynchronous callback to return the result. +Commits the transaction in this KV store. This method uses an asynchronous callback to return the result. - Parameters @@ -2500,7 +2500,7 @@ Commits transactions in this KV store. This method uses an asynchronous callback commit(): Promise<void>; -Commits transactions in this KV store. This method uses a promise to return the result. +Commits the transaction in this KV store. This method uses a promise to return the result. - Return value @@ -2528,7 +2528,7 @@ Commits transactions in this KV store. This method uses a promise to return the rollback(callback: AsyncCallback<void>): void; -Rolls back transactions in this KV store. This method uses an asynchronous callback to return the result. +Rolls back the transaction in this KV store. This method uses an asynchronous callback to return the result. - Parameters @@ -2558,7 +2558,7 @@ Rolls back transactions in this KV store. This method uses an asynchronous callb rollback(): Promise<void>; -Rolls back transactions in this KV store. This method uses a promise to return the result. +Rolls back the transaction in this KV store. This method uses a promise to return the result. - Return value