The doc channel the docs belong to.
Readonly
cacheThis cache of the manager.
Readonly
channelThe doc channel the docs belong to.
Readonly
clientThe client the manager belongs to.
Edit a doc in the channel.
The edited doc.
docs.edit(doc, 'Title', 'Content');
The doc to edit.
The title of the doc.
The content of the doc.
Fetch a doc from the channel, or cache.
The fetched doc.
docs.fetch(doc);
The doc to fetch.
Optional
options: FetchOptionsThe options to fetch the doc with.
Fetch docs from the channel.
The fetched docs.
docs.fetch();
Optional
options: DocFetchManyOptionsThe options to fetch the docs with.
Set the maximum cache size of the manager.
The manager.
manager.setMaxCache(100);
The maximum size of the cache.
The manager of docs that belong to a doc channel.
Example