Servis-Rhino 4211B Guía de usuario Pagina 111

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 298
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 110
WL.Client.hasUserPref
WL.Client.logActivity
WL.JSONStore
The WL.JSONStore functions provide access to the JSONStore APIs.
WL.JSONStore.add(data, options)
The add() method adds a new document into the collection.
data – A JavaScript object or array of objects that will be added to the collection
options – A JavaScript object that provides options to the add() method:
additionalSearchFields
push
The add() method returns a Promise.
WL.JSONStore.changePassword(oldPassword, newPassword, userName)
The changePassword() method changes the password on a collection.
oldPassword – The original password of the new collection.
newPassword – The new password of the collection.
userName – The identity of the user changing the password.
The changePassword() method returns a Promise.
WL.JSONStore.closeAll()
Close access to all currently opened collections.
WL.JSONStore.count()
Determine the number of documents inside a given collection.
The count() method returns a Promise.
WL.JSONStore.destroy()
Removes all JSONStore information for the application including stores, collections, documents
and meta-data.
WL.JSONStore.documentify(id, data)
Given a document ID and a JavaScript object representing data, a JSONStore document instance is
created.
id – The id of a document
data – A JavaScript object representing data
The documentify() method returns a JSONStore document object.
Page 111
Vista de pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 297 298

Comentarios a estos manuales

Sin comentarios