View Source Ch.Result (Ch v0.2.1)
Result struct returned from any successful query. Its fields are:
command- An atom of the query command, for example:
rows- The result set. One of:
- a list of lists, each inner list corresponding to a row, each element in the inner list corresponds to a column;
- raw iodata when the response is not automatically decoded, e.g.
num_rows- The number of fetched or affected rows;
headers- The HTTP response headers