The primary key of the model instance.
StaticcachedCached fields for the model.
StaticdispatchThe dispatch function for dispatching actions.
StaticentityThe entity name of the model.
StaticstoreThe state of the store.
StaticallStaticattrStaticbelongsDefines a belongsTo relationship.
The related model.
The foreign key.
The relationship.
StaticcreateStaticdeleteDeletes records from the store based on the given id(s) or predicate.
The id(s) or predicate to delete the records.
The deleted records.
StaticdeleteStaticfieldsStaticfindStaticgetStatichasDefines a hasMany relationship.
The related model.
The foreign key.
The relationship.
StaticinitInitializes the model with the given state and dispatch function.
The state of the store.
The dispatch function.
Optionalpayload: anyStaticinsertStaticinsertStaticqueryStaticresetStaticupdate
Base class for models in the ORM.