Sqlite.Ecto2 v2.0.0-dev.6 Sqlite.DbConnection.Query
Query struct returned from a successfully prepared query. Its fields are:
name
- The name of the prepared statement;statement
- The prepared statement;param_formats
- List of formats for each parameters encoded to;encoders
- List of anonymous functions to encode each parameter;columns
- The column names;result_formats
- List of formats for each column is decoded from;decoders
- List of anonymous functions to decode each column;types
- The type serber table to fetch the type information from;
Summary
Types
t()
t() :: %Sqlite.DbConnection.Query{columns: [String.t] | nil, decoders: [Sqlite.DbConnection.Types.oid] | [(binary -> term)] | nil, encoders: [Sqlite.DbConnection.Types.oid] | [(term -> iodata)] | nil, name: iodata, param_formats: [:binary | :text] | nil, prepared: reference, result_formats: [:binary | :text] | nil, statement: iodata, types: Sqlite.DbConnection.TypeServer.table | nil}