new Model(props)
Parameters:
| Name | Type | Description | 
|---|---|---|
props | 
            
            Object | An object representing a single model | 
Extends
- Component
 
Members
(static) editable_props
- Source:
 
(static) plural
- Source:
 
(static) plural_handle
- Source:
 
(static) singular
- Source:
 
(static) singular_handle
- Source:
 
api_url
- Source:
 
breadcrumb
- Source:
 
calculatedProperties
- Source:
 
create_path
- Mixes In:
 - Source:
 
create_path
- Mixes In:
 - Source:
 
id
- Source:
 
model_properties
- Source:
 
mutableState
- Source:
 
plural
- Source:
 
plural_handle
- Source:
 
primaryKey
- Source:
 
schema
- Source:
 
singular
- Source:
 
singular_handle
- Source:
 
url
- Source:
 
Methods
(static) addModel()
- Source:
 
(static) allModels()
- Source:
 
(static) boot()
- Source:
 - To Do:
 - 
        
- Implement this as a way to add instantiation items
 
 
(static) extractInstancesFromUrl()
- Source:
 
(static) getModel()
- Source:
 
(static) getModelProperties()
- Source:
 
(static) getPrimaryKey()
- Source:
 
(static) getRegex()
- Source:
 
(static) getSchema()
- Source:
 
(static) matchUrlPath()
- Source:
 
(static) resolveInstancesFromUrl()
- Source:
 
all()
- Mixes In:
 - Source:
 
all()
- Mixes In:
 - Source:
 
create()
    Create a new model and insert into the database
- Mixes In:
 - Source:
 
create()
    Create a new model and insert into the database
- Mixes In:
 - Source:
 
filterMutable()
- Source:
 
find()
    (STATIC) - Query the data store and return the model with the supplied id
- Mixes In:
 - Source:
 
find()
    (STATIC) - Query the data store and return the model with the supplied id
- Mixes In:
 - Source:
 
first()
- Mixes In:
 - Source:
 
first()
- Mixes In:
 - Source:
 
firstWhere()
- Mixes In:
 - Source:
 
firstWhere()
- Mixes In:
 - Source:
 
hydrate()
- Source:
 
list()
    (STATIC) - Return all models from the data store
- Mixes In:
 - Source:
 
list()
    (STATIC) - Return all models from the data store
- Mixes In:
 - Source:
 
make_key()
- Mixes In:
 - Source:
 
make_key()
- Mixes In:
 - Source:
 
refresh_static()
- Mixes In:
 - Source:
 
refresh_static()
- Mixes In:
 - Source:
 
set_render()
- Source:
 
where()
    (STATIC) -
- Mixes In:
 - Source:
 
where()
    (STATIC) -
- Mixes In:
 - Source: