Ch.Result (Ch v0.5.6)
View SourceResult struct returned from any successful query. Its fields are:
command- An atom of the query command, for example::select,:insertcolumns- A list of column namesrows- A list of lists, each inner list corresponding to a row, each element in the inner list corresponds to a columnnum_rows- The number of fetched or affected rowsheaders- The HTTP response headersdata- The raw iodata from the response
Summary
Types
@type t() :: %Ch.Result{ columns: [String.t()] | nil, command: Ch.Query.command() | nil, data: iodata(), headers: Mint.Types.headers(), num_rows: non_neg_integer() | nil, rows: [[term()]] | iodata() | nil }