Creates a new record in the App's persistent storage with the associated information being provided.
the actual data to store, must be an object otherwise it will error out
the association data which includes the model and record id
the resulting record's id
Creates a new record in the App's persistent storage with the data being associated with more than one Rocket.Chat record.
the actual data to store, must be an object otherwise it will error out
an array of association data which includes the model and record id
the resulting record's id
Removes all of the records in persistent storage which are associated with the provided information.
the information about the association for the records to be removed
the data of the removed records
Removes all of the records in persistent storage which are associated with the provided information. More than one association acts like an AND which means a record in persistent storage must have all of the associations to be considered a match.
the information about the associations for the records to be removed
the data of the removed records
Updates an existing record with the data provided in the App's persistent storage. This will throw an error if the record doesn't currently exist or if the data is not an object.
the data record's id
the actual data to store, must be an object otherwise it will error out
Optional
upsert: booleanwhether a record should be created if the id to be updated does not exist
the id of the updated/upserted record
Updates an existing record with the data provided in the App's persistent storage which are associated with provided information. This will throw an error if the record doesn't currently exist or if the data is not an object.
the association record
the actual data to store, must be an object otherwise it will error out
Optional
upsert: booleanwhether a record should be created if the id to be updated does not exist
the id of the updated/upserted record
Updates an existing record with the data provided in the App's persistent storage which are associated with more than one Rocket.Chat record. This will throw an error if the record doesn't currently exist or if the data is not an object.
an array of association data which includes the model and record id
the actual data to store, must be an object otherwise it will error out
Optional
upsert: booleanwhether a record should be created if the id to be updated does not exist
the id of the updated/upserted record
Generated using TypeDoc
Provides an accessor write data to the App's persistent storage. A App only has access to its own persistent storage and does not have access to any other App's.