Ecto.Adapters.SQL.Sandbox

Start a pool with a single sandboxed SQL connection.

Options

Source

Summary

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

Starts a pool with a single sandboxed connections for the given SQL connection module and options

Functions

handle_query(query, log, opts, s)
Source
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.

Source