# `EctoHrana.Result`
[🔗](https://github.com/l-vincent-l/ecto_hrana/blob/main/lib/ecto_hrana/result.ex#L1)

The result of a statement.

  * `:columns` - the names of the returned columns;
  * `:rows` - the returned rows, as lists of values; `nil` for a statement
    returning no columns (an `INSERT` without `RETURNING`, a DDL statement);
  * `:num_rows` - the number of rows returned, or, when `rows` is `nil`, the
    number of rows the statement changed;
  * `:last_insert_id` - the rowid of the last row inserted, if any.

# `t`

```elixir
@type t() :: %EctoHrana.Result{
  columns: [String.t()],
  last_insert_id: integer() | nil,
  num_rows: non_neg_integer(),
  rows: [list()] | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
