Methods
create
- create(collection: string, document: EngineDocument, id?: string): Promise<string>
Parameters
collection: string
Optional id: string
Returns Promise<string>
delete
- delete(collection: string, id: string): Promise<void>
Parameters
collection: string
id: string
Returns Promise<void>
readOne
Parameters
collection: string
id: string
update
- update(collection: string, id: string, updates: EngineUpdates): Promise<void>
Parameters
collection: string
id: string
Returns Promise<void>