Directus / @directus/sdk / types / QueryItem
Interface: QueryItem<Schema, Item> ​
All query options with an additional version query option for readItem and readSingleton
Extends ​
Query
<Schema
,Item
>
Type Parameters ​
• Schema
• Item
Properties ​
alias? ​
readonly
optional
alias:IfAny
<Schema
,Record
<string
,string
>,QueryAlias
<Schema
,Item
>>
Inherited from ​
Defined in ​
deep? ​
optional
deep:IfAny
<Schema
,Record
<string
,any
>,QueryDeep
<Schema
,Item
>>
Inherited from ​
Defined in ​
fields? ​
readonly
optional
fields:IfAny
<Schema
, (string
|Record
<string
,any
>)[],QueryFields
<Schema
,Item
>>
Inherited from ​
Defined in ​
filter? ​
optional
filter:IfAny
<Schema
,Record
<string
,any
>,QueryFilter
<Schema
,Item
>>
Inherited from ​
Defined in ​
limit? ​
optional
limit:number
Inherited from ​
Defined in ​
offset? ​
optional
offset:number
Inherited from ​
Defined in ​
page? ​
optional
page:number
Inherited from ​
Defined in ​
search? ​
optional
search:string
Inherited from ​
Defined in ​
sort? ​
optional
sort:IfAny
<Schema
,string
|string
[],QuerySort
<Schema
,Item
> |QuerySort
<Schema
,Item
>[]>
Inherited from ​
Defined in ​
version? ​
readonly
optional
version:string
Defined in ​
versionRaw? ​
readonly
optional
versionRaw:boolean