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

GraphQL query, comprised of one or more Graphqexl.Query.Operation.t/0s.

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

Link to this section Summary

Functions

Parse the given json map into a Graphqexl.Query.t/0

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 Graphqexl.Query.t/0

Returns: Graphqexl.Query.ResultSet.t/0

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 Graphqexl.Query.t/0

Returns: Graphqexl.Query.t/0