minca
ApiCoreFunctions

Function: plainQuery()

function plainQuery<C, I>(typed): Query;

Defined in: packages/core/src/query/types.ts:326

The query as plain data: every collection reference replaced by its name. What runs, what is sent to an agent, and what is compared, is this. Anything malformed is passed through untouched, for the checker to explain.

Type Parameters

Type Parameter
C extends CollectionRef
I extends | Readonly<Record<string, Include>> | undefined

Parameters

ParameterType
typedQuery<C, I>

Returns

Query

On this page