readme
This commit is contained in:
parent
f5fe01edaf
commit
2f5a771156
|
@ -89,12 +89,11 @@ var store = require('le-store-sequelize')({
|
||||||
|
|
||||||
### Custom Database Object
|
### Custom Database Object
|
||||||
|
|
||||||
You can pass in your own database object if you wish. It doesn't actually even
|
If you already have a Sequelize object, you can pass that in as `config.db`,
|
||||||
have to be a Sequelize database object, as long as the object responds to the
|
circumventing the baked-in database entirely.
|
||||||
implemented methods and returns the expected results.
|
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var db = new MyDatabase();
|
var db = require('./db');
|
||||||
|
|
||||||
var store = require('le-store-sequelize')({
|
var store = require('le-store-sequelize')({
|
||||||
db
|
db
|
||||||
|
|
Loading…
Reference in New Issue