Ecto.Adapters.SQL.Sandbox
Start a pool with a single sandboxed SQL connection.
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
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.Connectionopts- The options for the pool and the connections