Node ORM2
latest
  • Getting Started
  • Querying
  • Validation
  • Relationships
  • Reference
    • Instance Class
    • Model Class
    • ORM Class
    • Built-in Validators
Node ORM2
  • Docs »
  • Reference
  • Edit on GitHub

ReferenceΒΆ

This is the section which contains all of the class reference for Node ORM

  • Instance Class
    • instance.save( callback )
    • instance.saved
    • instance.remove( callback )
    • instance.isInstance()
    • instance.on( event, callback )
  • Model Class
    • model.get( id, options, callback )
    • model.find( ... )
    • model.clear()
    • model.hasOne( type, another_model, opts )
    • model.hasMany( type, extra, another_model )
    • model.createSQL()
  • ORM Class
    • static orm.connect( connection_string, callback )
    • orm.define( name, properties, options )
    • orm.close()
    • orm.validators
  • Built-in Validators
    • validators.rangeNumber( min, max, message )
    • validators.rangeLength( min, max, message )
    • validators.insideList( values, message )
    • validators.outsideList( values, message )
    • validators.equalToProperty( property, message )
    • validators.notEmptyString( message )
    • validators.unique( message )
    • validators.patterns.match( regex, message )
    • validators.patterns.hexString( message )
    • validators.patterns.email( message )
    • validators.patterns.ipv4( message )
Next Previous

© Copyright 2013, Joe Simpson. Revision e8f89631.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.