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

db support for CockroachDB #509

Open
stevewilliamsuk opened this issue Nov 8, 2023 · 1 comment
Open

db support for CockroachDB #509

stevewilliamsuk opened this issue Nov 8, 2023 · 1 comment

Comments

@stevewilliamsuk
Copy link

I would like to propose a feature that django-eviron's db() parser shall support CockroachDB

CockroachDB is a distributed quorum based database. Cockroach Labs have provided an idiomatic driver for Django.

This driver does under the hood use psycopg, so in theory a postresql:// connection string could be used with Env().db_url() (I have not tried!) it is preferable to use the Cockroach driver as this improves resiliency and retry logic.

I am all too happy to submit the PR for this myself.

@stevewilliamsuk
Copy link
Author

Would also add that it is worth considering support for djongo as well: https://www.mongodb.com/compatibility/mongodb-and-django#connect-django-and-mongodb-using-djongo

stevewilliamsuk added a commit to stevewilliamsuk/django-environ that referenced this issue Nov 25, 2023
As per joke2k#509 adds support for Django CockroachDB
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

No branches or pull requests

1 participant