Collection
A collection represents a group of objects on the Leverege platform. Collections contain generic methods to interact with all the different collections.
Methods
- list() - returns a list with all of the objects in the collection
- create( object ) - creates an object in the collection
- get( id ) - gets the object in the collection
- update( id, patchOps ) - updates the object with the provided data
- updateRaw( id, patchOps ) - removes the old data for the object
- delete( id ) - deletes the object from the collection
- child( id ) - returns an instance of child with the id appended to the current path