loopback/node_modules/model/README.md

37 lines
551 B
Markdown

# model
## About
Provides a schema protected api to a data [store](../store).
### Options
#### namespace
A table, collection, url, or other namespace.
#### properties
An array of properties describing the model's schema.
"properties": [
{
"name": "title",
"type": "string"
},
{
"name": "done",
"type": "boolean"
},
{
"name": "order",
"type": "number"
}
]
}
### Dependencies
#### store
A [store](../store) module instance.