Push dev work to master #2
|
@ -31,14 +31,14 @@ class DB {
|
|||
db.run(query)
|
||||
}
|
||||
find (where, cb) {
|
||||
const query.select()
|
||||
const query = squel.select()
|
||||
.from(this._table)
|
||||
.where(where)
|
||||
.toString()
|
||||
db.all(query, cb)
|
||||
}
|
||||
list (cb) {
|
||||
const query.select()
|
||||
const query = squel.select()
|
||||
.from(this._table)
|
||||
.toString()
|
||||
db.all(query, cb)
|
||||
|
|
Loading…
Reference in New Issue