query property Null safety
read / write
A query representing the values received from the request being processed.
You may execute this query as is or modify it. The following is true of this property:
- The Query will always have a type argument that matches
InstanceType. - If the request contains a path variable that matches the name of the primary key of
InstanceType, the Query will set its Query.where to match on the ManagedObject whose primary key is that value of the path parameter. - If the Request contains a body, it will be decoded per the acceptedContentTypes and deserialized into the Query.values property via ManagedObject.readFromMap.
Implementation
Query<InstanceType>? query;