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 10_000 rows), buffers them, and returns the rows one at a time.

installgem install postgresql_cursor
Authors

Allen Fair

7,172 total downloads 2,301 for this version
Owners

Bde02640093c9b75381f772c159574d6

Gemfile
gem 'postgresql_cursor', '~> 0.4.2'
Versions
  1. 0.4.2 February 20, 2013 (9 KB)
  2. 0.4.1 February 20, 2013 (9 KB)
  3. 0.4.0 July 21, 2012 (9 KB)
  4. 0.3.1 August 6, 2010 (9.5 KB)
  5. 0.3.0 July 29, 2010 (9 KB)
Show all versions (6 total)
Runtime Dependencies
  1. activerecord >= 0