Class: Query<T>
Features to query, along with their arguments.
A query is created by using either queryBuilder or createQuery.
A query is executed by calling either requestImpression or useImpression.
Type parameters
Name | Type |
---|---|
T | extends FeatureNames |
Constructors
constructor
• new Query<T
>()
Type parameters
Name | Type |
---|---|
T | extends "ExampleFeature" | "ExampleFeature2" |
Methods
getExampleFeature
▸ getExampleFeature(__namedParameters
): Query
<"ExampleFeature"
| T
>
An example feature for reference documentation purposes
Parameters
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.exampleString | string |
Returns
Query
<"ExampleFeature"
| T
>
getExampleFeature2
▸ getExampleFeature2(__namedParameters
): Query
<"ExampleFeature2"
| T
>
A second example feature for reference documentation purposes
Parameters
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.exampleInt | number |
Returns
Query
<"ExampleFeature2"
| T
>