getRecord ( opts: Object ) →{ Record }
Returns the Record.
Parameters
Name | Type | Description |
---|---|---|
opts | Object | test. |
Returns
The query's result set.
getType ( ) →{ String }
Returns the type of the model.
Returns
The type of the model. The type can be either 'document' or 'data'.
isDocument ( ) →{ Boolean }
Convenience function that returns true if the model's type is 'document'.
Returns
True or false depending on if the model's type is 'document'.
isExportable ( ) →{ Boolean }
Returns true if the model is marked as exportable.
Returns
True if the model is marked as exportable.