hunt-sequilize
Use Sequilize.js models in Hunt.js framework of v.0.2.0 and higher
Example
var hunt = huntSequilize = Hunt = ; ; //this it it Hunt; Hunt; Hunt;
Configuration parameters
Only one configuration parameter is accepted - sequelizeUrl
. It have to be passed as config
object parameter.
It can be populated from environmental values of DATABASE_URL
(usually used by Heroku PostgreSQL),
CLEARDB_DATABASE_URL
, or SQL_URL
. It can have the following syntax:
Settings for sqlite3 database
var Hunt = ; var Hunt = ;
Settings for MySql database
var Hunt = ;
Settings for PostgreSQL database
var Hunt = ;