Constructors
constructor
- new Context(model, id): Context
Parameters
- model: Model<unknown>
- id: string
Properties
Methods
createDoc
- createDoc(collectionName, id): void
Parameters
- collectionName: any
- id: any
Returns void
fetchDoc
- fetchDoc(collectionName, id): void
Parameters
- collectionName: any
- id: any
Returns void
fetchQuery
- fetchQuery(query): void
Returns void
subscribeDoc
- subscribeDoc(collectionName, id): void
Parameters
- collectionName: any
- id: any
Returns void
subscribeQuery
- subscribeQuery(query): void
Returns void
toJSON
- toJSON(): Object
Returns Object
unfetchDoc
- unfetchDoc(collectionName, id): void
Parameters
- collectionName: any
- id: any
Returns void
unfetchQuery
- unfetchQuery(query): void
Returns void
unload
- unload(): void
Returns void
unsubscribeDoc
- unsubscribeDoc(collectionName, id): void
Parameters
- collectionName: any
- id: any
Returns void
unsubscribeQuery
- unsubscribeQuery(query): void
Returns void