# `NebulaGraphEx.Result`
[🔗](https://github.com/VChain/nebula_graph_ex/blob/v0.1.10/lib/nebula_graph_ex/result.ex#L1)

Raw execution result from NebulaGraph, as returned by `DBConnection`.

`NebulaGraphEx.Graph.query/4` wraps this into a `NebulaGraphEx.ResultSet`
before returning it to the caller. You only need this struct if you are
using `DBConnection` directly.

## Fields

* `:columns` — ordered list of binary column names
* `:rows` — list of raw value lists (each element is a `{tag, value}` tuple
  as produced by `NebulaGraphEx.Thrift.Types.decode_value/1`)
* `:num_rows` — number of result rows
* `:latency_us` — server-side execution latency in microseconds
* `:space_name` — graph space name binary or `nil`
* `:comment` — server comment binary or `nil`
* `:statement` — the originating nGQL statement

# `raw_value`

```elixir
@type raw_value() :: {atom(), term()}
```

# `t`

```elixir
@type t() :: %NebulaGraphEx.Result{
  columns: [String.t()],
  comment: String.t() | nil,
  latency_us: non_neg_integer(),
  num_rows: non_neg_integer(),
  rows: [[raw_value()]],
  space_name: String.t() | nil,
  statement: String.t()
}
```

---

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