Postgrex v0.13.0 Postgrex.Query

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;

Summary

Types

t()
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}