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

Need generator instead of array from query commands #170

Open
jpwijbenga opened this issue Mar 15, 2024 · 0 comments
Open

Need generator instead of array from query commands #170

jpwijbenga opened this issue Mar 15, 2024 · 0 comments

Comments

@jpwijbenga
Copy link

jpwijbenga commented Mar 15, 2024

MySQLDB.php gives an array and doesn't give an option to return a generator, to allow for streaming use cases, in case of larger requests.
To not break implementations let's add a generator instead of changing the current way of getting query results.

https://github.com/AmpersandTarski/prototype/blob/ef1ed5034f8c24a61b8642775880eabc6df37259/src/Ampersand/Plugs/MysqlDB/MysqlDB.php#L263C21-L263C28

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