Update db.js

This commit is contained in:
Aleksandr Statciuk 2022-08-15 02:22:36 +03:00
parent 2fef0866db
commit ec72bd823e
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ class Database {
return this.db.find(query)
}
all() {
return this.find({})
}
remove(query, options) {
return this.db.remove(query, options)
}