Indexable
[key: string]: any
Methods
isNew
- isNew(): boolean
-
Returns boolean
lastSavedPK
- lastSavedPK(): any
-
Returns any
markAsNew
- markAsNew(): void
-
Returns void
markAsNotNew
- markAsNotNew(): void
-
Returns void
tableName
- tableName(): string
-
Returns string
Model defines an interface with common methods that all db models should have.
Note: for simplicity composite pk are not supported.