Don‘t mix these methods with methods of BDB::Cursor
All instance methods has the same syntax than the methods of Array
open the database
BDB::Recnum.open(name, subname, flags, mode)
is equivalent to
BDB::Recno.open(name, subname, flags, mode, "set_flags" => BDB::RENUMBER, "set_array_base" => 0)
Removes the database (or subdatabase) represented by the name and subname combination.
If no subdatabase is specified, the physical file represented by name is removed, incidentally removing all subdatabases that it contained.
Returns a new array by invoking block once for every element, passing each element as a parameter to block. The result of block is used as the given element
changes the nth element of the array into val. If nth is larger than array length, the array shall be extended automatically. Extended region shall be initialized by nil.
replace the items from start to end with val. If val is not an array, the type of val will be converted into the Array using to_a method.
returns an array containing the objects from start to end, including both ends. if end is larger than the length of the array, it will be rounded to the length. If start is out of an array range , returns nil. And if start is larger than end with in array range, returns empty array ([]).
replace the length items from start with val. If val is not an array, the type of val will be converted into the Array using to_a.