Add a value to the database.
The value to add. It must be a SupportedIndexType.
A promise that resolves with the value added.
Clear the database. Fires a IDatabaseTableEvent for each key deleted.
A promise that resolves when the database has been cleared.
Count the number of keys matching the query in the database.
Optional
query: IDatabaseTableQueryThe query to use to filter the keys. If no query is provided, all the keys in the database are counted.
A promise that resolves with the number of keys matching the query.
Get all the values matching the query in the database.
Optional
query: IDatabaseTableQueryThe query to use to filter the values. If no query is provided, all the values in the database are returned.
A promise that resolves with all the values matching the query.
Set the value for a key.
The key to set the value for.
The value to set for the key. It must be a SupportedIndexType.
The key-value database table connector interface.