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 extends object
• Item
Properties
alias?
optional
readonly
alias:IfAny
<Schema
,Record
<string
,string
>,QueryAlias
<Schema
,Item
>>
Inherited from
Source
deep?
optional
deep:IfAny
<Schema
,Record
<string
,any
>,QueryDeep
<Schema
,Item
>>
Inherited from
Source
fields?
optional
readonly
fields:IfAny
<Schema
, (string
|Record
<string
,any
>)[],QueryFields
<Schema
,Item
>>
Inherited from
Source
filter?
optional
filter:IfAny
<Schema
,Record
<string
,any
>,Partial
<Merge
<Object
,NestedQueryFilter
<Schema
,Item
>,Object
,IfNever
<NestedQueryFilter
<Schema
,Item
>,unknown
,NestedQueryFilter
<Schema
,Item
>>>>>
Inherited from
Source
limit?
optional
limit:number
Inherited from
Source
offset?
optional
offset:number
Inherited from
Source
page?
optional
page:number
Inherited from
Source
search?
optional
search:string
Inherited from
Source
sort?
optional
sort:IfAny
<Schema
,string
|string
[],QuerySort
<Schema
,Item
> |QuerySort
<Schema
,Item
>[]>
Inherited from
Source
version?
optional
readonly
version:string
Source
versionRaw?
optional
readonly
versionRaw:boolean