【问题标题】:Regarding JSON Store in worklight 6.1关于 worklight 6.1 中的 JSON 存储
【发布时间】:2014-11-20 04:18:42
【问题描述】:

我是工作灯的新手。在 IBM 信息或知识中心中讨论了所有 API,但没有讨论它们的属性。我需要了解 api 列表及其属性和选项。请给我一些链接。

【问题讨论】:

  • 你能不能再具体一点?
  • 就像可以在 WL.JSONStore.init(collections,options) 甚至在集合内部传递的选项

标签: ibm-mobilefirst jsonstore


【解决方案1】:

这在文档中有很好的解释。

例如,您询问了 WL.JSONStore.init,所以对于 JSONStore.init

{string} options.username Optional - Name of the file that is created to store data for the collections, must be an alphanumeric string ([a-z, A-Z, 0-9]) and start with a letter. The default one is 'jsonstore'.
{string} options.password Optional - Password that is used to secure the contents of the store, by default there is no data encryption.
{boolean} options.clear Optional - Clears accessors without removing its contents from the store.
{boolean} options.localKeyGen Optional - Flag that determines if key generation uses a local (false) or remote (true) random number generator.

Collection is not an API...read the Overview section.

【讨论】:

  • 好的,我正在讨论诸如 push:false 等属性/选项。我需要那些属性信息
猜你喜欢
  • 2014-01-18
  • 2014-03-02
  • 2013-11-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-12-01
  • 2014-01-28
  • 1970-01-01
相关资源
最近更新 更多