Tds v1.0.12 Tds.Result View Source

Result struct returned from any successful query.

Fields

  • 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

Types

t()

The result of a database query

Link to this section Types

Link to this type t() View Source
t() :: %Tds.Result{columns: [String.t()] | nil, num_rows: integer(), rows: [tuple()] | nil}

The result of a database query.