Replies: 1 comment 1 reply
-
You can use DB.synchronize do |client|
result = client.execute("SELECT * FROM [super_big_table]")
# ...
end |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I need to read a big Sql Server (tinytds) result streamed (not all results in memory). I cannot use
paged_each
with strategy :offset, because the data-result's order is ambiguous. I need a cursor-like approach.At tinytds doc I saw, the following, which would solve my issue:
With OCI Driver it would be something like that:
How to solve this with Sequel. Or how to access the underlying driver through Sequel?
Thanks and best regards
Beta Was this translation helpful? Give feedback.
All reactions