Class CollectionListEntry

The data structure used by NedbClients to initialise a collection when setting up a database connection.

You, as a user of the SuperCamo package, will typically use this class when first connecting to a database - and no other times.

let newClient = SuperCamo.clientConnect(
"ExampleDatabase",
"./ExampleDatabase/",
[
new CollectionListEntry("Users", User),
]
);

BigfootDS

Implements

Constructors

Properties

Constructors

Properties

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