Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Multi-Tenant] getOrCreateConnection method in Database Connections Service #3105

Open
Tracked by #2893
njlie opened this issue Nov 19, 2024 · 0 comments
Open
Tracked by #2893
Labels
pkg: backend Changes in the backend package.

Comments

@njlie
Copy link
Contributor

njlie commented Nov 19, 2024

Parent Issue: #2893

Description

The Database Connection Service should extend a function to retrieve a database connection from its internal data structure, given a tenant id. If one isn't found, it should try to create a new connection using Knex and the databaseUrl that is associated with the tenant.

Prerequisites:

#3104

@github-project-automation github-project-automation bot moved this to Backlog in Rafiki Nov 19, 2024
@njlie njlie added the pkg: backend Changes in the backend package. label Nov 19, 2024
@njlie njlie mentioned this issue Nov 19, 2024
41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: backend Changes in the backend package.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant