issues
search
jhollinger
/
occams-record
The missing high-efficiency query API for ActiveRecord
https://occams.jordanhollinger.com/
MIT License
358
stars
7
forks
source link
Look into cursor and streaming support for PG
#5
Open
jhollinger
opened
5 years ago
jhollinger
commented
5 years ago
Prior art:
https://github.com/jeremyevans/sequel/blob/c0491fc7b3bb09b3af62cb50388a59f0344877fb/lib/sequel/adapters/postgres.rb#L618
https://github.com/jeremyevans/sequel_pg/blob/5597791c071643f608852a2174d9ff93827f0d85/lib/sequel/extensions/pg_streaming.rb#L125
jhollinger
commented
2 years ago
Cursors landing in 1.4.0
jhollinger
commented
2 years ago
Streaming cons:
Needs a 2nd connection to do eager loading
Have to implement type conversion from scratch OR hook into AR internals
Prior art: