Snowflex v0.0.2 Snowflex

The client interface for connecting to the Snowflake data warehouse.

The main entry point to this module is Snowflex.sql_query. This function takes a string containing a SQL query and returns a list of maps (one per row). NOTE: due to the way the Erlang ODBC works, all values comeback as strings. You will need to cast values appropriately.

Link to this section Summary

Link to this section Types

Link to this type

query_param()

query_param() :: {:odbc.odbc_data_type(), [:odbc.value()]}
Link to this type

sql_data()

sql_data() :: [%{optional(String.t()) => String.t()}]

Link to this section Functions

Link to this function

param_query(query, params \\ [])

param_query(String.t(), [query_param()]) :: sql_data()
Link to this function

sql_query(query)

sql_query(String.t()) :: sql_data()