Interface: Query
A server-side read-only operation, callable from the client and the server.
Create one with the query constructor.
See Queries.
Extendsโ
BaseSpecElement<"query">
Propertiesโ
auth?โ
optionalauth?:boolean
Whether this Query requires auth. If your app has auth enabled, this
defaults to true.
Only available if your app has auth enabled.
entities?โ
optionalentities?:string[]
A list of entities you wish to use inside your Query.
See Using Entities in Queries.
fnโ
fn:
Reference<AnyFunction>
Reference to the Query's NodeJS implementation.
See the docs for details on the implementation and its context.
kindโ
kind:
"query"
The internal Wasp type of a SpecElement. Used by the compiler. You should not set this field directly, instead use the dedicated constructors.
Inherited fromโ
BaseSpecElement.kind