Directus / @directus/sdk / types / Query
Interface: Query<Schema, Item> ​
All query options available
Extended by ​
Type Parameters ​
• Schema
• Item
Properties ​
alias? ​
readonly
optional
alias:IfAny
<Schema
,Record
<string
,string
>,QueryAlias
<Schema
,Item
>>
Defined in ​
deep? ​
optional
deep:IfAny
<Schema
,Record
<string
,any
>,QueryDeep
<Schema
,Item
>>
Defined in ​
fields? ​
readonly
optional
fields:IfAny
<Schema
, (string
|Record
<string
,any
>)[],QueryFields
<Schema
,Item
>>
Defined in ​
filter? ​
optional
filter:IfAny
<Schema
,Record
<string
,any
>,QueryFilter
<Schema
,Item
>>
Defined in ​
limit? ​
optional
limit:number
Defined in ​
offset? ​
optional
offset:number
Defined in ​
page? ​
optional
page:number
Defined in ​
search? ​
optional
search:string
Defined in ​
sort? ​
optional
sort:IfAny
<Schema
,string
|string
[],QuerySort
<Schema
,Item
> |QuerySort
<Schema
,Item
>[]>