Meilisearch JS / index / DocumentsQuery
Type Alias: DocumentsQuery<T>
DocumentsQuery<
T> =ResourceQuery&object
Defined in: src/types/types.ts:517
Type Declaration
fields?
optionalfields?:Fields<T>
filter?
optionalfilter?:Filter
ids?
optionalids?:string[] |number[]
limit?
optionallimit?:number
offset?
optionaloffset?:number
retrieveVectors?
optionalretrieveVectors?:boolean
sort?
optionalsort?:string[]
Array of strings containing the attributes to sort on. Each string should be in the format "attribute:direction" where direction is either "asc" or "desc". Example: ["price:asc", "rating:desc"]
Type Parameters
T
T = RecordAny