Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

fix SQLAlchemy doesn't accept raw str anymore#109

Open
BuiHoangTu wants to merge 1 commit intoyhat:masterfrom
BuiHoangTu:fix-postgresql-connection
Open

fix SQLAlchemy doesn't accept raw str anymore#109
BuiHoangTu wants to merge 1 commit intoyhat:masterfrom
BuiHoangTu:fix-postgresql-connection

Conversation

@BuiHoangTu
Copy link
Copy Markdown

Query using postgresql syntax does not work since conn.execute() require sqlalchemy.text instead of str like before.

So i tried wrapping original string by text and it worked.

@BuiHoangTu
Copy link
Copy Markdown
Author

fix #99 ; #102 ; #103

@Crowts
Copy link
Copy Markdown

Crowts commented Apr 8, 2024

I had the same issue just yesterday with engine.execute() not working and resolved it the same way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants