Skip to content

Query API: DeleteQueryBuilder

everything()

  • Summary

    ts
    class DeleteQueryBuilder {
      everything(): Promise<void>;
    }

    Deletes everything in the store.

whereKey()

  • Summary

    ts
    class 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.

Released under the MIT License.