Astarte.DataAccess.XandraUtils (astarte_data_access v1.1.0) View Source

Link to this section Summary

Link to this section Functions

Link to this function

retrieve_page(conn, statement, params, opts \\ [])

View Source

Specs

retrieve_page(
  atom() | pid() | {atom(), any()} | {:via, atom(), any()} | DBConnection.t(),
  binary() | Xandra.Prepared.t(),
  list() | map(),
  keyword()
) ::
  {:error, :database_error}
  | {:error, :database_connection_error}
  | {:ok, Xandra.Page.t()}

Specs

run(String.t(), (Xandra.Connection.t(), String.t() -> any())) ::
  any() | {:error, :invalid_realm_name}