ModelClass
ModelClass<
STATICS,FIELDS,PKA,UNIQUE,INDEX> =STATICS&ModelClassRuntime<FIELDS,PKA,UNIQUE,INDEX> & (initial?,txn?) =>ModelInstance<FIELDS,PKA>
Defined in: .work/repos/edinburgh/src/models.ts:467
The static side of a model class returned by defineModel().
Besides the class constructor itself, this includes primary-key lookup
helpers like get() and getLazy(), range-query helpers like find(), and
named-index helpers like getBy() and findBy().
Type Parameters
Section titled “Type Parameters”STATICS
Section titled “STATICS”STATICS
FIELDS
Section titled “FIELDS”FIELDS
The user-defined fields of the model instance.
PKA extends readonly any[]
Tuple of primary-key argument types.
UNIQUE
Section titled “UNIQUE”UNIQUE = { }
Named unique-index specifications.
INDEX = { }
Named secondary-index specifications.