View Source ReqTrino.Result (ReqTrino v0.1.1)

Result struct returned from any successful query.

Its fields are:

  • columns - The column names;
  • rows - The result set. A list of lists, each inner list corresponding to a row, each element in the inner list corresponds to a column;
  • statement_name - The statement name from executed query;
  • query_execution_id - The id from executed query;

Summary

Types

@type t() :: %ReqTrino.Result{
  columns: [String.t()],
  query_id: binary(),
  rows: [[term()]],
  statement_name: binary()
}