Directus / @directus/sdk / types / QueryItem
Interface: QueryItem<Schema, Item> ​
Defined in: types/query.ts:25
All query options with an additional version query option for readItem and readSingleton
Extends ​
Query<Schema,Item>
Type Parameters ​
• Schema
• Item
Properties ​
alias? ​
readonlyoptionalalias:IfAny<Schema,Record<string,string>,QueryAlias<Schema,Item>>
Defined in: types/query.ts:19
Inherited from ​
deep? ​
optionaldeep:IfAny<Schema,Record<string,any>,QueryDeep<Schema,Item>>
Defined in: types/query.ts:18
Inherited from ​
fields? ​
readonlyoptionalfields:IfAny<Schema, (string|Record<string,any>)[],QueryFields<Schema,Item>>
Defined in: types/query.ts:11
Inherited from ​
filter? ​
optionalfilter:IfAny<Schema,Record<string,any>,QueryFilter<Schema,Item>>
Defined in: types/query.ts:12
Inherited from ​
limit? ​
optionallimit:number
Defined in: types/query.ts:15
Inherited from ​
offset? ​
optionaloffset:number
Defined in: types/query.ts:16
Inherited from ​
page? ​
optionalpage:number
Defined in: types/query.ts:17
Inherited from ​
search? ​
optionalsearch:string
Defined in: types/query.ts:13
Inherited from ​
sort? ​
optionalsort:IfAny<Schema,string|string[],QuerySort<Schema,Item> |QuerySort<Schema,Item>[]>
Defined in: types/query.ts:14
Inherited from ​
version? ​
readonlyoptionalversion:string
Defined in: types/query.ts:26
versionRaw? ​
readonlyoptionalversionRaw:boolean
Defined in: types/query.ts:27