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

Compatibility with select() syntax #79

Open
nmoreaud opened this issue Nov 3, 2022 · 3 comments
Open

Compatibility with select() syntax #79

nmoreaud opened this issue Nov 3, 2022 · 3 comments

Comments

@nmoreaud
Copy link

nmoreaud commented Nov 3, 2022

SQLAlchemy recommends a new way of writing ORM queries, using select(): https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
Could you update this library to support it?

Currently, it triggers errors such as: 'Select' object has no attribute '_compile_state'

@nmoreaud nmoreaud changed the title Compatibility with select() object Compatibility with select() syntax Nov 3, 2022
@harunurkst
Copy link

facing same issue, AttributeError: 'Select' object has no attribute 'count'

@tomviner
Copy link
Collaborator

As a new co-maintainer of this repo, I can say that we'd be happy to review a pull request. I don't have much time to work on this myself though.

@phillipuniverse
Copy link

@tomviner this should be fixed in #84

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

4 participants