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

Perhaps do a DBAPI-3.0? #10

Closed
tlocke opened this issue Mar 17, 2019 · 2 comments
Closed

Perhaps do a DBAPI-3.0? #10

tlocke opened this issue Mar 17, 2019 · 2 comments

Comments

@tlocke
Copy link
Owner

tlocke commented Mar 17, 2019

Cursor is iterable:

Instead of fetchall do: tuple(cursor.execute(...))

@tlocke
Copy link
Owner Author

tlocke commented Jun 19, 2019

In fact, we could do away with cursors altogether!

@tlocke
Copy link
Owner Author

tlocke commented Mar 6, 2021

I think this has been implemented with the pg8000.native API.

@tlocke tlocke closed this as completed Mar 6, 2021
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