$query
Callable
Parameters
properties: ObjectType<Record<string, Node>> | ObjectShape<Record<string, Node>>
Key value pairs that define the query parameters object.
optionaloptions: SchemaOptions<ObjectOptions>
Additional options to pass to the query parameters.
Returns ObjectType<Record<string, Node>>
Create a new query parameters instance with the given options.
Example