ExSQL.Result (exsql v0.1.1)

Copy Markdown

The result of executing one statement.

For SELECT, columns holds the output column names and rows the result rows as value lists. For DML, rows_affected reports the count of inserted/updated/deleted rows.

Summary

Types

t()

@type t() :: %ExSQL.Result{
  affinities: [ExSQL.AST.ColumnDef.affinity()],
  columns: [String.t()],
  command: atom(),
  rows: [[ExSQL.Value.t()]],
  rows_affected: non_neg_integer()
}