RubyGems.org

PostgreSQL Cursor is an extension to the ActiveRecord PostgreSQLAdapter for very large result sets. It provides a cursor open/fetch/close interface to access data without loading all rows into memory, and instead loads the result rows in "chunks" (default of 1_000 rows), buffers them, and returns the rows one at a time.

installgem install postgresql_cursor
Authors

Allen Fair

10,458 total downloads 329 for this version
Owners

Bde02640093c9b75381f772c159574d6

Licenses

MIT

Gemfile
gem 'postgresql_cursor', '~> 0.5.0'
Versions
  1. 0.5.0 June 26, 2014 (14.5 KB)
  2. 0.4.3 June 6, 2014 (10.5 KB)
  3. 0.4.2 February 20, 2013 (9 KB)
  4. 0.4.1 February 20, 2013 (9 KB)
  5. 0.4.0 July 21, 2012 (9 KB)
Show all versions (8 total)
Runtime Dependencies
  1. activerecord >= 3.2.0
Ruby Dependency
  1. >= 0