View Source Tds.Result (Tds v2.3.2)

Result struct returned from any successful query.



  • columns: The column names.
  • rows: The result set as a list of tuples. Each tuple corresponds to a row, while each element in the tuple corresponds to a column.
  • num_rows: The number of fetched or affected rows.

Link to this section Summary



The result of a database query.

Link to this section Types

@type t() :: %Tds.Result{
  columns: nil | [String.t()],
  num_rows: integer(),
  rows: nil | [[any()]]

The result of a database query.