grumble v0.1.3 Grumble.Query View Source

Link to this section Summary

Link to this section Types

Link to this type

operation()

View Source
operation() :: :query | :mutation | :subscription
Link to this type

t()

View Source
t() :: %Grumble.Query{
  fields: [Grumble.Field.t()],
  name: name() | nil,
  operation: operation(),
  params: [Grumble.Param.t()]
}

Link to this section Functions

Link to this function

new(operation, set \\ [])

View Source
new(operation :: operation(), set :: list()) :: t()
Link to this function

set(query, list)

View Source
set(query :: t(), set :: list()) :: t()