Closed Ch4s3 closed 2 years ago
big improvement. i think we should add a test for this
Sadly, this doesn't work because :odbc
is owned by the Worker and can't be called in an external context. There are 2 path's forward here:
I'm leaning towards 2.
closing this for now, to refocus efforts elsewhere
This function is build around :odbc.select_count/3 and the
next/0
function.A stream is built using Stream.resource/3 to do the following
This is all necessary because sufficiently large queries can cause very large spikes in memory.