Ch.Query (Ch v0.3.1)

View Source

Query struct wrapping the SQL statement.

Summary

Types

command()

@type command() ::
  :undrop
  | :move
  | :watch
  | :use
  | :truncate
  | :set
  | :exchange
  | :rename
  | :optimize
  | :kill
  | :exists
  | :drop
  | :detach
  | :describe
  | :check
  | :attach
  | :revoke
  | :explain
  | :grant
  | :select
  | :show
  | :system
  | :delete
  | :alter
  | :create
  | :insert
  | :select

t()

@type t() :: %Ch.Query{
  command: command(),
  decode: boolean(),
  encode: boolean(),
  statement: iodata()
}