maxo_uni_repo
v0.1.1
  • Pages
  • Modules

    View Source MaxoUniRepo.Setup (maxo_uni_repo v0.1.1)

    Setup module to contain logic how to cleanly switch between different repositories

    • also how to configure the main Ecto repo on boot

    Link to this section Summary

    Functions

    assert_correct_db_type!()
    dbtype()
    dbtype?(type)
    ensure_current_stopped()
    repo_module()
    setup_env(repo \\ nil)
    setup_repo!(boot \\ true)
    start_dynamic(repo_mod, opts)
    to_mysql(boot \\ true)
    to_psql(boot \\ true)
    to_sqlite(boot \\ true)

    Link to this section Functions

    Link to this function

    assert_correct_db_type!()

    View Source
    Link to this function

    dbtype()

    View Source
    Link to this function

    dbtype?(type)

    View Source
    Link to this function

    ensure_current_stopped()

    View Source
    Link to this function

    repo_module()

    View Source
    Link to this function

    setup_env(repo \\ nil)

    View Source
    Link to this function

    setup_repo!(boot \\ true)

    View Source
    Link to this function

    start_dynamic(repo_mod, opts)

    View Source
    Link to this function

    to_mysql(boot \\ true)

    View Source
    Link to this function

    to_psql(boot \\ true)

    View Source
    Link to this function

    to_sqlite(boot \\ true)

    View Source

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.4) for the Elixir programming language