Postgrex v0.13.5 Postgrex.Query View Source

Query struct returned from a successfully prepared query.

Its public fields are:

  • name - The name of the prepared statement;
  • statement - The prepared statement;
  • columns - The column names;

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Postgrex.Query{
  columns: [String.t()] | nil,
  name: iodata(),
  param_formats: [:binary | :text] | nil,
  param_oids: [Postgrex.Types.oid()] | nil,
  param_types: [Postgrex.Types.type()] | nil,
  ref: reference() | nil,
  result_formats: [:binary | :text] | nil,
  result_oids: [Postgrex.Types.oid()] | nil,
  result_types: [Postgrex.Types.type()] | nil,
  statement: iodata(),
  types: Postgrex.Types.state() | nil
}