Sqlite.Ecto2 v2.0.0-dev.3 Sqlite.DbConnection.Result

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

  • command - An atom of the query command, for example: :select or :insert;
  • columns - The column names;
  • rows - The result set. A list of tuples, each tuple corresponding to a row, each element in the tuple corresponds to a column;
  • num_rows - The number of fetched or affected rows;

Summary

Types

t()
t() :: %Sqlite.DbConnection.Result{columns: [String.t] | nil, command: atom, num_rows: integer, rows: [[term] | term] | nil}