diplomat v0.11.2 Diplomat.Query

Link to this section Summary

Link to this section Types

Link to this type

args_list()
args_list() :: [any()]

Link to this type

args_map()
args_map() :: %{optional(atom()) => any()}

Link to this type

t()
t() :: %Diplomat.Query{
  named_args: args_map(),
  numbered_args: args_list(),
  query: String.t() | nil
}

Link to this section Functions

Link to this function

execute(q, namespace \\ nil)
execute(t(), String.t() | nil) :: [Entity.t()] | Client.error()

Link to this function

new(query)
new(String.t()) :: t()

Link to this function

new(query, args)
new(String.t(), args_map() | args_list()) :: t()

Link to this function

proto(query)
proto(t()) :: Diplomat.Proto.GqlQuery.t()