Skip to content

No easy way to switch between database connections #1634

@codemedic

Description

@codemedic

When working with multiple databases, it seems not possible to switch between database connections (DSNs).

A typical use case would be in situations where you have two databases which are differently tuned; for the kind of data they deal with. One for configuration lookup, i.e high performance, almost all coming from memory, and the other database server for huge tables, say for example logs or financial transaction history.

If one needs to write a test that would talk to multiple databases, it would be handy to be able to switch between DSNs at will during the test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy