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

Fix SQLite fetch queries with multiple parameters #435

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

vmarkovtsev
Copy link
Contributor

SQLAlchemy 1.4 no longer orders compiled.bind_names the same as the sequence of ? placeholders in the generated SQL. We must iterate keys from compiled.positiontup that stores the correct order of bound parameters.

Backport of athenianco#5

SQLAlchemy 1.4 no longer orders `compiled.bind_names` the same as the sequence of `?` placeholders in the generated SQL. We must iterate keys from `compiled.positiontup` that stores the correct order of bound parameters.

Backport of athenianco#5
@aminalaee aminalaee merged commit 9e93405 into master Dec 2, 2021
@aminalaee aminalaee deleted the fix-sqlite branch December 2, 2021 14:37
@collerek
Copy link
Member

collerek commented Jan 6, 2022

@aminalaee Is there a chance for a new release with this change included?

@aminalaee
Copy link
Member

I'll prepare the PR for review. It would be great if #436 could also go with this release.

@collerek
Copy link
Member

collerek commented Jan 6, 2022

I'll prepare the PR for review. It would be great if #436 could also go with this release.

@aminalaee Can you ping someone from maintainers to review #436 (it's also waiting one month already)?
It's super simple so should be a breeze :)

I'm not sure who from @encode is still engaged with this project.

@aminalaee
Copy link
Member

I'll try to push it through. I hope more maintainers can help with this project and orm.

@aminalaee aminalaee mentioned this pull request Jan 14, 2022
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.

3 participants