ModelInstance
ModelInstance<
TData
> =BaseTable
<TData
> &TData
Defined in: define/table/types/model.ts:126
Represents an instance of a model, combining the base table functionality with the specific data shape.
This is the type you get back when you call new User({ ... })
or User.select(...)
.
Type Parameters
Section titled “Type Parameters”TData
extends Record
<string
, unknown
>
The inferred shape of the model’s data.