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

handle_query(query, log, opts, s)
start_link(conn_mod, opts)

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.