Find data in a database.
Find one data entry in a database.
Remove data from a database.
Remove one data entry from a database.
Asynchronously removes one entry in a database or adds a new one if it doesn't exist. Usage e.g. for toggling a flag.
Returns a promise resolving to false if the entry was found and removed,
or true if the entry was added. The returned value reflects the state of the database
after the operation.
Update data in a database.
Update one data entry in a database.
Asynchronously updates one entry in a database or adds a new one if it doesn't exist.
Add data to a database.