diff --git a/scripts/core/db.js b/scripts/core/db.js index fc3f117553..db3fd527f8 100644 --- a/scripts/core/db.js +++ b/scripts/core/db.js @@ -63,6 +63,10 @@ class Database { return this.db.find(query) } + all() { + return this.find({}) + } + remove(query, options) { return this.db.remove(query, options) }