Postgrex v1.0.0-rc.0 Postgrex.Query
Query struct returned from a successfully prepared query. Its fields are:
name
- The name of the prepared statement;statement
- The prepared statement;param_info
- List of oids, type info, extension and options for each parameter;param_formats
- List of formats for each parameters encoded to;columns
- The column names;result_info
- List of oid, type info, extension and options for each column;result_formats
- List of formats for each column is decoded from;types
- The type server table to fetch the type information from;null
- Atom to use as a stand in for postgres’NULL
;
Summary
Types
type_info()
type_info :: {Postgrex.Types.oid, Postgrex.TypeInfo.t, module | nil} | {Postgrex.Types.oid, Postgrex.TypeInfo.t, module, any}