Method: FDB::TransactionRead#get_range_start_with

Defined in:
lib/fdbimpl.rb

#get_range_start_with(prefix, options = {}, &block) ⇒ Object



839
840
841
842
843
# File 'lib/fdbimpl.rb', line 839

def get_range_start_with(prefix, options={}, &block)
  prefix = FDB.key_to_bytes(prefix)
  prefix = prefix.dup.force_encoding "BINARY"
  get_range(prefix, FDB.strinc(prefix), options, &block)
end