未验证 提交 bb993d56 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/database/database-preference-guidelines.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 63a60e56
......@@ -42,7 +42,7 @@
| ----------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
| Preferences | put(key: string, value: ValueType): Promise\<void> | 支持存入值为number、string、boolean、Array\<number>、Array\<string>、Array\<boolean>类型的数据。 |
| Preferences | get(key: string, defValue: ValueType): Promise\<ValueType> | 支持获取值为number、string、boolean、Array\<number>、Array\<string>、Array\<boolean>类型的数据。 |
| Preferences | getAll(): Promise<Object> | 支持获取含有所有键值的Object对象。 |
| Preferences | getAll(): Promise\<Object> | 支持获取含有所有键值的Object对象。 |
### 数据持久化
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册