View Source Snowpack.Result (Snowpack v0.7.5)
Result struct returned from any successful query.
Its public fields are:
:columns
- The column names;:num_rows
- The number of fetched or affected rows;:rows
- The result set. A list of tuples, each inner tuple corresponding to a row, each element in the inner tuple corresponds to a column;
Link to this section Summary
Link to this section Types
@type t() :: %Snowpack.Result{ columns: [String.t()] | nil, num_rows: non_neg_integer() | nil, rows: [{term()}] | nil }