关于Worklight 6.1中的JSON Store

时间:2014-09-25 11:44:39

标签: ibm-mobilefirst jsonstore

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

1 个答案:

答案 0 :(得分: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