Skip to content

Conversation

@andrejtonev
Copy link

Add multi-tenant capability.

conn = mgclient.connect(address...., database="db") 

will return a connection that is limited to the defined database.

@andrejtonev andrejtonev requested a review from Josipmrden March 29, 2024 15:59
@andrejtonev andrejtonev marked this pull request as ready for review April 5, 2024 08:43
@andrejtonev andrejtonev self-assigned this Apr 5, 2024
@andrejtonev andrejtonev added the Docs needed Docs needed label Apr 5, 2024
@andrejtonev
Copy link
Author

@kgolubic We have added the ability to define the landing database via pymgclient.
mgclient.connect(database="your db", ...)
The connection is then locked to the defined db, you cannot switch to another one later on.

@andrejtonev andrejtonev marked this pull request as draft April 5, 2024 08:53
@andrejtonev andrejtonev marked this pull request as ready for review April 5, 2024 10:08
@andrejtonev
Copy link
Author

FYI @Josipmrden this PR requires a fix in memgraph.
Should be delivered via memgraph/memgraph#1884

@gitbuda gitbuda mentioned this pull request Aug 17, 2024
7 tasks
@gitbuda gitbuda mentioned this pull request Apr 30, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs needed Docs needed

2 participants