Snowflex.Query (Snowflex v1.7.2)

View Source

Snowflake implementation of DBConnection.Query.

:op selects which transport operation the query runs. It is :execute for ordinary statements. For the async operations (:submit_async, :status, :fetch_result and :cancel) :statement holds a statement handle rather than SQL, so that the handle reaches query logging and telemetry the same way a statement does.

Summary

Types

t()

@type t() :: %Snowflex.Query{
  cache: term(),
  name: term(),
  op: term(),
  statement: term(),
  transport: term()
}

Functions

is_statement(statement)

(macro)