clickhousex v0.1.0 Clickhousex.Result View Source

Result struct returned from any successful query. Its fields are:

  • command - An atom of the query command
  • 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;
  • num_rows - The number of fetched or affected rows;

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Clickhousex.Result{columns: [String.t()] | nil, command: atom(), num_rows: integer() | :undefined, rows: [[term()] | binary()] | nil}