Interface NedbClientEntry

interface NedbClientEntry {
    collections: CollectionAccessor[];
    documents: typeof NedbDocument[];
    embeddedDocuments: typeof NedbEmbeddedDocument[];
    name: string;
    path: string;
}

Implemented by

Properties

collections: CollectionAccessor[]

Array of collections used by this NeDB client. This is essentially where you track what models and collections are used in this particular database.

BigfootDS

documents: typeof NedbDocument[]

Array of documents used by the collections within this NeDB client. This should be a smaller array than the collections, since multiple collections could be using the same document.

BigfootDS

embeddedDocuments: typeof NedbEmbeddedDocument[]

Array of subdocuments or embedded documents used by the documents within the collections of this NeDB client.

BigfootDS

name: string

Human-friendly name to identify the database when an app using SuperCamo is using multiple NeDB database connections simultaneously.

BigfootDS

path: string

The absolute file path to the folder that represents this NeDB client. Its collections are individual NeDB datastore files contained within this folder.

BigfootDS