Mariaex v0.9.1 Mariaex.Result View Source

Result struct returned from any successful query. Its fields are:

  • columns - The column names;
  • rows - The result set. A list of lists, each list corresponding to a row, each element of the inner list corresponds to a column value;
  • num_rows - The number of fetched or affected rows;

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Mariaex.Result{
  columns: [String.t()] | nil,
  connection_id: nil,
  last_insert_id: integer(),
  num_rows: integer(),
  rows: [[any()]] | nil
}