You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can access the jdbc connection from your AR connection: connection.jdbc_connection
from there you could create a statement and set stmt.setFetchSize(Integer.MIN_VALUE)
not sure whether where we should add that since we do not emulate the mysql2 API that much client.query("SELECT * FROM really_big_Table", :stream => true) we simply do not have that as AR-JDBC implements AR API: connection.exec_query not sure it makes sense to make that streamable?
Does this library provide a method for accessing MySQL stream similar to mysql2 adapter?
Sources:
Mysql2 Adapter - https://github.com/brianmario/mysql2#streaming
Mysql documentation - https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-implementation-notes.html
The text was updated successfully, but these errors were encountered: