Update db.js
This commit is contained in:
parent
2fef0866db
commit
ec72bd823e
|
@ -63,6 +63,10 @@ class Database {
|
||||||
return this.db.find(query)
|
return this.db.find(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
all() {
|
||||||
|
return this.find({})
|
||||||
|
}
|
||||||
|
|
||||||
remove(query, options) {
|
remove(query, options) {
|
||||||
return this.db.remove(query, options)
|
return this.db.remove(query, options)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue