Interface CollectionAccessor

interface CollectionAccessor {
    datastore: Nedb<Record<string, any>>;
    model: typeof NedbDocument;
    name: string;
    path: string;
}

Implemented by

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