mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 01:50:04 -04:00
Update db.js
This commit is contained in:
parent
2fef0866db
commit
ec72bd823e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue