Class CollectionAccessor

The data structure used by NedbClients to manage their collections of documents.

The path and datastore are used in the actual persisting of the data by NeDB.

The name and model are used by SuperCamo to determine what document rules to apply to the collection's data.

This is not a class that you, as a user of the SuperCamo package, will typically interact with or use directly at all.

BigfootDS

Implements

Constructors

Properties

Constructors

Properties

datastore: Nedb<Record<string, any>>

Reference to the NeDB Datastore object for this collection.

BigfootDS

model: typeof NedbDocument

Reference to the NedbDocument-inheriting class used to define the collection's data structure.

BigfootDS

name: string

Name of the collection.

BigfootDS

path: string

Path to its ".db" NeDB file.

BigfootDS