graphqexl v0.1.0-alpha-rc.19 Graphqexl.Query.Operation

Individual operation contained in a query

Link to this section Summary

Functions

Add a field with optional nested fields to the given operation

Link to this section Types

Link to this type

t()

t() :: %Graphqexl.Query.Operation{
  arguments: Map.t(),
  fields: Map.t(),
  name: String.t(),
  result: Graphqexl.Query.ResultSet.t(),
  type: atom(),
  user_defined_name: String.t(),
  variables: Map.t()
}

Link to this section Functions

Link to this function

add_field(operation, field, nested_fields \\ true)

(since 0.1.0)

Add a field with optional nested fields to the given operation

Returns t:Graphexl.Query.Operation.t/0