import { IndexableCollection } from "https://deno.land/x/kvdex@v0.1.2/mod.ts";
Type Parameters
T1 extends Model
T2 extends IndexRecord<T1>
Methods
deleteMany(options?: ListOptions<T1>)
findByPrimaryIndex(selection: IndexSelection<T1, T2>, options?: FindOptions)
Find a document by index value. Note that selecting an index that was not defined when creating the collection will always return null.
findBySecondaryIndex(selection: IndexSelection<T1, T2>, options?: ListOptions<T1>)
Finds documents by a given set of secondary indices. If multiple are specified, results are combined.