Path: | cursor.rb |
Last Update: | Sat Dec 27 12:24:33 +0000 2003 |
A database cursor is a sequential pointer to the database entries. It allows traversal of the database and access to duplicate keyed entries. Cursors are used for operating on collections of records, for iterating over a database, and for saving handles to individual records, so that they can be modified after they have been read.
A cursor is created with the methods BDB::Common#cursor and BDB::Common#cursor_write