Method: Cequel::Record::RecordSet#from
- Defined in:
- lib/cequel/record/record_set.rb
#from(start_key) ⇒ RecordSet
Restrict records to those whose value in the first unscoped primary key column are greater than or equal to the given start key.
412 413 414 415 416 417 418 419 |
# File 'lib/cequel/record/record_set.rb', line 412 def from(start_key) unless partition_specified? fail IllegalQuery, "Can't construct exclusive range on partition key " \ "#{range_key_name}" end scoped(lower_bound: bound(true, true, start_key)) end |