bookshelf-schema
stable
Basic usage
Fields
Relations
Scopes
Listen
Options
bookshelf-schema
Docs
»
bookshelf-schema
Edit on GitHub
bookshelf-schema
¶
The
Bookshelf
plugin that adds fields, relations, scopes and more to bookshelf models.
Related plugins
¶
bookshelf-fields
- the ancestor of this plugin
bookshelf-scopes
- the source of inspiration for scopes helpers
Contents:
¶
Basic usage
CoffeeScript
JavaScript
Schema definition
Plugin options
Fields
Examples
Validation
Base class
Field classes
Advanced validation
Relations
Examples
Relation name
Accessor helper methods
Count
Base class
Relation classes
Scopes
Examples
Base class
Default scope
Unscoped
Listen
Examples
Base class
Options
Examples
Class Options
Indices and tables
¶
Index
Search Page
Read the Docs
v: stable
Versions
latest
stable
Downloads
pdf
htmlzip
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.