Query API: DeleteQueryBuilder
Summary
tsclass DeleteQueryBuilder<Row, Key>Deletion query
Type Parameters
Row— The type of record in the store.Key— The primary key specifications for the store.
everything()
Summary
tsclass DeleteQueryBuilder { everything(): Promise<void>; }Deletes everything in the store.
whereKey()
Summary
tsclass DeleteQueryBuilder { whereKey(op: Compares, key: PrimaryKey): Promise<void>; whereKey(op: Bounds, lower: PrimaryKey, upper: PrimaryKey): Promise<void>; }Deletes only records that match those compared with the given key or bounds.
Parameters
op— The operator with which to the compare the specified values with the record keys.key— The value with which to compare the primary keys of the records in the store.lower— The lower bounds with which to compare the primary keys of the records in the store.upper— The upper bounds with which to compare the primary keys of the records in the store.
Type Parameters
PrimaryKey— The primary keys of the records in the store.