View Source Adbc.Result (adbc v0.4.1)

A struct returned as result from queries.

It has two fields:

  • :data - a list of Adbc.Column

  • :num_rows - the number of rows returned, if returned by the database

Summary

Functions

Returns a map of columns as a result.

Types

@type t() :: %Adbc.Result{
  data: [
    %Adbc.Column{
      data: term(),
      metadata: term(),
      name: term(),
      nullable: term(),
      type: term()
    }
  ],
  num_rows: non_neg_integer() | nil
}

Functions

Returns a map of columns as a result.