Get started with the @lambda directive for queries. This documentation takes you through the schemas, resolvers, and examples.
@lambda
directive.
get
, query
, and aggregate
are reserved prefixes and they canβt be used
to define Lambda queries.Author
that finds out authors given
an authorβs name
:
addGraphQLResolvers
or addMultiParentGraphQLResolvers
methods.
parents
, args
, dql
, or
graphql
inside the function.dql
for the resolver function. You can find additional
resolver examples using parent
in the Lambda fields article, and
using graphql
in the Lambda mutations article.authorsByName()
lambda function and add
it as resolver: