Directus / @directus/sdk / types / Query
Interface: Query<Schema, Item> ​
Defined in: types/query.ts:10
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: types/query.ts:19
deep? ​
optional
deep:IfAny
<Schema
,Record
<string
,any
>,QueryDeep
<Schema
,Item
>>
Defined in: types/query.ts:18
fields? ​
readonly
optional
fields:IfAny
<Schema
, (string
|Record
<string
,any
>)[],QueryFields
<Schema
,Item
>>
Defined in: types/query.ts:11
filter? ​
optional
filter:IfAny
<Schema
,Record
<string
,any
>,QueryFilter
<Schema
,Item
>>
Defined in: types/query.ts:12
limit? ​
optional
limit:number
Defined in: types/query.ts:15
offset? ​
optional
offset:number
Defined in: types/query.ts:16
page? ​
optional
page:number
Defined in: types/query.ts:17
search? ​
optional
search:string
Defined in: types/query.ts:13
sort? ​
optional
sort:IfAny
<Schema
,string
|string
[],QuerySort
<Schema
,Item
> |QuerySort
<Schema
,Item
>[]>
Defined in: types/query.ts:14