lib/lmdb/database.rb
# Iterate over each key in the database, skipping over duplicate records.
#
# @yield key [String] the next key in the database.
# @return [Enumerator] in lieu of a block.
Iterate over each key in the database, skipping over duplicate records.
Iterate over each key in the database skipping over duplicate records .
def each_key(&block)
      return enum_for :each_key unless block_given?
      env.transaction true do
        cursor do |c|
          while (rec = c.next true)
            yield rec.first
          end
        end
      end
    end
def each_key ( & block ) return enum_for :each_key unless block_given? env . transaction true do cursor do | c | while ( rec = c . next true ) yield rec . first end end end end
Iterate over each key in the database, skipping over duplicate records.
Iterate over each key in the database skipping over duplicate records .
in lieu of a block.
in lieu of a block .
Enumerator
block
<not_specific>
]
<not_specific>
key  the next key in the database.
key the next key in the database .