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

Turso support #581

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Turso support #581

wants to merge 4 commits into from

Conversation

eynopv
Copy link

@eynopv eynopv commented Sep 20, 2024

This pull request adds basic support for Turso.
Current implementation does not include database creation and deletion as connection to Turso happens with their provided urls in following format:
libsql://[databaseName]-[organizationName].turso.io
It would have been nice to parse the url by -, but both databaseName and organizationName can contain - character.
To support database creation and drop, the format for DATABASE_URL can be changed to turso://[organizationName]/[databaseName] and then build the connection string from that, if it's something desired.
It's also worth noting that database can belong to a group and could be added to the DATABASE_URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant