Readonly cacheCounts the number of records that match the specified criteria in the given table.
Table name type.
Columns type of the table.
The name of the table to count the records from.
Criteria to filter records.
Optional query: QueryOptions<C>Additional options like sorting, limiting, and projection.
Deletes records from the specified table based on the given criteria.
Table name type.
Columns type of the table.
The name of the table to delete from.
Optional where: {Criteria to filter records to delete.
Deletes first record from the specified table based on the given criteria.
Table name type.
Columns type of the table.
The name of the table to delete from.
Optional where: {Criteria to filter records to delete.
Drops specified tables from the database.
Rest ...tables: T[]Tables to drop from the database.
Filters records in the specified table based on the given criteria.
Table name type.
Columns type of the table.
The name of the table to filter.
Criteria to filter records.
Optional query: QueryOptions<C>Additional options like sorting, limiting, and projection.
Filters records in the specified table based on the given criteria, returns the first record.
Table name type.
Columns type of the table.
The name of the table to filter.
Criteria to filter records.
Optional query: QueryOptions<C>Additional options like sorting, limiting, and projection.
Protected readRetrieves the number of records in a specific table or the total number of tables if no table is specified.
Optional table: TOptional. The table to get the size of.
Updates records in the specified table based on the given criteria and update values.
Table name type.
Columns type of the table.
Protected write
Client class for handling operations on a JSON data store.