Ecto v1.1.0 Ecto.Adapters.SQL.Sandbox
Start a pool with a single sandboxed SQL connection.
Options
:shutdown
- The shutdown method for the connections (default: 5000) (see Supervisor.Spec)
Summary
Functions
Starts a pool with a single sandboxed connections for the given SQL connection module and options
Functions
Specs
start_link(module, Keyword.t) ::
{:ok, pid} |
{:error, any}
Starts a pool with a single sandboxed connections for the given SQL connection module and options.
conn_mod
- The connection module, seeEcto.Adapters.Connection
opts
- The options for the pool and the connections