Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 6ee022a2a4 - Show all commits

View File

@ -31,14 +31,14 @@ class DB {
db.run(query) db.run(query)
} }
find (where, cb) { find (where, cb) {
const query.select() const query = squel.select()
.from(this._table) .from(this._table)
.where(where) .where(where)
.toString() .toString()
db.all(query, cb) db.all(query, cb)
} }
list (cb) { list (cb) {
const query.select() const query = squel.select()
.from(this._table) .from(this._table)
.toString() .toString()
db.all(query, cb) db.all(query, cb)