2014-09-25 20 views
-1

我是worklight的新手。在IBM信息或知識中心中討論了所有的API,但不涉及它們的屬性。我需要了解api的列表及其屬性和選項。請給我一些鏈接。關於工作燈中的JSON存儲6.1

+0

你可以嘗試,更具體嗎? – 2014-09-25 11:51:40

+0

就像可以在WL.JSONStore.init(集合,選項)中傳遞的選項一樣,甚至在集合內部 – BalajiG 2014-09-25 11:56:09

回答

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

+0

好吧,我正在考慮像push這樣的屬性/選項:false等。我需要這些屬性信息 – BalajiG 2014-09-25 12:48:00