不要怂,就是干,撸起袖子干!

Commit adf45cf5 by Jan Aagaard Meier

Added options.storage to sequelize constructor

1 parent c28aef7a
Showing with 1 additions and 0 deletions
...@@ -57,6 +57,7 @@ module.exports = (function() { ...@@ -57,6 +57,7 @@ module.exports = (function() {
* @param {Object} [options= {}] An object with options. * @param {Object} [options= {}] An object with options.
* @param {String} [options.dialect='mysql'] The dialect you of the database you are connecting to. One of mysql, postgres, sqlite and mariadb * @param {String} [options.dialect='mysql'] The dialect you of the database you are connecting to. One of mysql, postgres, sqlite and mariadb
* @param {String} [options.dialectModulePath=null] If specified, load the dialect library from this path. For example, if you want to use pg.js instead of pg when connecting to a pg database, you should specify 'pg.js' here * @param {String} [options.dialectModulePath=null] If specified, load the dialect library from this path. For example, if you want to use pg.js instead of pg when connecting to a pg database, you should specify 'pg.js' here
* @param {String} [options.storage] Only used by sqlite. Defaults to ':memory:'
* @param {String} [options.host='localhost'] The host of the relational database. * @param {String} [options.host='localhost'] The host of the relational database.
* @param {Integer} [options.port=] The port of the relational database. * @param {Integer} [options.port=] The port of the relational database.
* @param {String} [options.protocol='tcp'] The protocol of the relational database. * @param {String} [options.protocol='tcp'] The protocol of the relational database.
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!