View Source Snowflex.DBConnection (Snowflex v0.5.2)

Defines a Snowflake connection with DBConnection adapter.

Definition

When used, the connection expects the :otp_app option. You may also define a standard timeout. This will default to 60 seconds.

defmodule SnowflakeDBConnection do
  use Snowflex.DBConnection,
    otp_app: :my_app,
    timeout: :timer.seconds(60)
end