retort v2.7.0 Retort.Sandbox View Source
Generates tokens and redeems those tokens for access to Ecto sandbox, such as
Ecto.Adapters.SQL.Sandbox
Link to this section Summary
Functions
Uses decoded beam metadata to allow the current proceess access to the repo of owner
repo and owner process in a versioned format
Link to this section Functions
Link to this function
allow_access(sandbox \\ Ecto.Adapters.SQL.Sandbox, token)
View Source
allow_access(module(), %{owner: pid(), repo: module()}) :: :ok
Uses decoded beam metadata to allow the current proceess access to the repo of owner.
Link to this function
version1_token(repo)
View Source
version1_token([module()] | module()) :: map()
repo and owner process in a versioned format