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