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

Add support for postgresql+asyncpg DB scheme #395

Closed
mhadam opened this issue Sep 22, 2021 · 1 comment · Fixed by #396
Closed

Add support for postgresql+asyncpg DB scheme #395

mhadam opened this issue Sep 22, 2021 · 1 comment · Fixed by #396

Comments

@mhadam
Copy link
Contributor

mhadam commented Sep 22, 2021

The supported DBs dict is missing this scheme prefix.

"postgresql": "databases.backends.postgres:PostgresBackend",

mhadam added a commit to mhadam/databases that referenced this issue Sep 22, 2021
@aminalaee
Copy link
Member

aminalaee commented Sep 23, 2021

I think the reason behind this is that we have default database drivers:
postgresql --> asyncpg
mysql --> aiomysql
sqlite --> aiosqlite

Alternatives:
postgresql+aiopg
mysql+asyncmy (work in progress)

Is that causing any problems?

mhadam added a commit to mhadam/databases that referenced this issue Sep 23, 2021
mhadam added a commit to mhadam/databases that referenced this issue Sep 23, 2021
@aminalaee aminalaee linked a pull request Sep 24, 2021 that will close this issue
aminalaee added a commit that referenced this issue Sep 25, 2021
Co-authored-by: Amin Alaee <mohammadamin.alaee@gmail.com>
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 a pull request may close this issue.

2 participants