未验证 提交 3a962b57 编写于 作者: O openharmony_ci 提交者: Gitee

!1810 #I4UC8A已完成,请审核

Merge pull request !1810 from Annie_wang/PR1548
# DataAbilityPredicates<a name="EN-US_TOPIC_0000001201117411"></a> # DataAbilityPredicates<a name="EN-US_TOPIC_0000001201117411"></a>
>![](../../public_sys-resources/icon-note.gif) **NOTE:** >![](../../public_sys-resources/icon-note.gif) **NOTE**
>
>The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. >The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import<a name="section68088407422"></a> ## Modules to Import<a name="section68088407422"></a>
...@@ -9,11 +10,8 @@ ...@@ -9,11 +10,8 @@
import dataAbility from '@ohos.data.dataAbility' import dataAbility from '@ohos.data.dataAbility'
``` ```
## System Capabilities ## System Capabilities
SystemCapability.DistributedDataManager.DataShare.Consumer SystemCapability.DistributedDataManager.DataShare.Core
## Required Permissions<a name="section11257113618419"></a>
None
## dataAbility.createRdbPredicates<a name="section039731125514"></a> ## dataAbility.createRdbPredicates<a name="section039731125514"></a>
...@@ -1697,4 +1695,3 @@ Sets the **DataAbilityPredicates** to match the field with data type **Array< ...@@ -1697,4 +1695,3 @@ Sets the **DataAbilityPredicates** to match the field with data type **Array<
predicates.notIn("NAME", ["Lisa", "Rose"]) predicates.notIn("NAME", ["Lisa", "Rose"])
``` ```
# Relational Database # Relational Database
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:** > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
>
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
......
# Result Set<a name="EN-US_TOPIC_0000001159793150"></a> # Result Set<a name="EN-US_TOPIC_0000001159793150"></a>
>![](../../public_sys-resources/icon-note.gif) **NOTE:** >![](../../public_sys-resources/icon-note.gif) **NOTE**
>
>The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. >The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## System Capabilities ## System Capabilities
...@@ -20,9 +21,6 @@ promise.then((resultSet) => { ...@@ -20,9 +21,6 @@ promise.then((resultSet) => {
console.log("resultSet columnCount:" + resultSet.columnCount); console.log("resultSet columnCount:" + resultSet.columnCount);
``` ```
## Required Permissions<a name="section11257113618419"></a>
None
## ResultSet<a name="section12882825611"></a> ## ResultSet<a name="section12882825611"></a>
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
Lightweight storage provides applications with data processing capability and allows applications to perform lightweight data storage and query. Data is stored in key-value pairs. Keys are of the string type, and values can be of the numeric, string, or Boolean type. Lightweight storage provides applications with data processing capability and allows applications to perform lightweight data storage and query. Data is stored in key-value pairs. Keys are of the string type, and values can be of the numeric, string, or Boolean type.
>![](../../public_sys-resources/icon-note.gif) **NOTE:** >![](../../public_sys-resources/icon-note.gif) **NOTE**
>
>The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. >The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import<a name="s56d19203690d4782bfc74069abb6bd71"></a> ## Modules to Import<a name="s56d19203690d4782bfc74069abb6bd71"></a>
...@@ -12,11 +13,8 @@ import dataStorage from '@ohos.data.storage' ...@@ -12,11 +13,8 @@ import dataStorage from '@ohos.data.storage'
``` ```
## System Capabilities ## System Capabilities
SystemCapability.DistributedDataManager.Preference.Core SystemCapability.DistributedDataManager.Preferences.Core
## Required Permissions<a name="section11257113618419"></a>
None
## Attributes<a name="section7299123218370"></a> ## Attributes<a name="section7299123218370"></a>
...@@ -119,7 +117,7 @@ Reads a specified file and loads the data to the **Storage** instance for data ...@@ -119,7 +117,7 @@ Reads a specified file and loads the data to the **Storage** instance for data
storage.putSync('startup', 'auto') storage.putSync('startup', 'auto')
storage.flushSync() storage.flushSync()
})() })()
``` ```
## dataStorage.getStorage<a name="section192192415554"></a> ## dataStorage.getStorage<a name="section192192415554"></a>
...@@ -180,7 +178,7 @@ Reads a specified file and loads the data to the **Storage** instance for data ...@@ -180,7 +178,7 @@ Reads a specified file and loads the data to the **Storage** instance for data
storage.flushSync() storage.flushSync()
}) })
})() })()
``` ```
## dataStorage.getStorage<a name="section761705115251"></a> ## dataStorage.getStorage<a name="section761705115251"></a>
...@@ -248,7 +246,7 @@ Reads a specified file and loads the data to the **Storage** instance for data ...@@ -248,7 +246,7 @@ Reads a specified file and loads the data to the **Storage** instance for data
console.info("Get the storage failed, path: " + path + '/mystore') console.info("Get the storage failed, path: " + path + '/mystore')
}) })
}() }()
``` ```
## dataStorage.deleteStorageSync<a name="section1396463815379"></a> ## dataStorage.deleteStorageSync<a name="section1396463815379"></a>
...@@ -1614,4 +1612,3 @@ Unsubscribes from data changes. ...@@ -1614,4 +1612,3 @@ Unsubscribes from data changes.
</tr> </tr>
</tbody> </tbody>
</table> </table>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册