The result of a statement.
:columns- the names of the returned columns;:rows- the returned rows, as lists of values;nilfor a statement returning no columns (anINSERTwithoutRETURNING, a DDL statement);:num_rows- the number of rows returned, or, whenrowsisnil, the number of rows the statement changed;:last_insert_id- the rowid of the last row inserted, if any.
Summary
Types
@type t() :: %EctoHrana.Result{ columns: [String.t()], last_insert_id: integer() | nil, num_rows: non_neg_integer(), rows: [list()] | nil }