graphqexl v0.1.0-alpha-rc.12 Graphqexl.Query

GraphQL query, comprised of one or more t:Graphqexl.Query.Operations.

Built by calling parse/1 with either a gql string (see Graphqexl.Schema.Dsl) or json t:Map.

Link to this section Summary

Functions

Execute the given t:Graphqexl.Query

Parse the given json map into a t:Graphqexl.Query

Link to this section Types

Link to this type

gql()

gql() :: String.t()
Link to this type

json()

json() :: Map.t()
Link to this type

t()

t() :: %Graphqexl.Query{operations: [Graphqexl.Query.Operation.t()]}

Link to this section Functions

Link to this function

execute(query, schema)

(since 0.1.0)

Execute the given t:Graphqexl.Query

Returns: t:Graphqexl.Query.ResultSet

Link to this function

parse(gql)

(since 0.1.0)
parse(gql()) :: Query.t()
parse(json()) :: Query.t()

Parse the given json map into a t:Graphqexl.Query

Returns: t:Graphqexl.Query