The primary key of the model instance.
Static
cachedCached fields for the model.
Static
dispatchThe dispatch function for dispatching actions.
Static
entityThe entity name of the model.
Static
storeThe state of the store.
Static
allStatic
attrStatic
belongsDefines a belongsTo relationship.
The related model.
The foreign key.
The relationship.
Static
createStatic
deleteDeletes records from the store based on the given id(s) or predicate.
The id(s) or predicate to delete the records.
The deleted records.
Static
deleteStatic
fieldsStatic
findStatic
getStatic
hasDefines a hasMany relationship.
The related model.
The foreign key.
The relationship.
Static
initInitializes the model with the given state and dispatch function.
The state of the store.
The dispatch function.
Optional
payload: anyStatic
insertStatic
insertStatic
queryStatic
resetStatic
update
Base class for models in the ORM.