loopback/node_modules/model
Ritchie Martori 7c2e73f53a Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
..
example Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
lib Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
test Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
.gitignore Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
README.md Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
index.js Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
package.json Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00

README.md

model

About

Provides a schema protected api to a data 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 module instance.