class ROM::RethinkDB::Relation
Relation
subclass of RethinkDB
adapter
@example
class Users < ROM::Relation[:rethinkdb] end
@api public
Public Instance Methods
count()
click to toggle source
# File lib/rom/rethinkdb/relation.rb, line 17 def count dataset.count end
filter(*args, &block)
click to toggle source
# File lib/rom/rethinkdb/relation.rb, line 21 def filter(*args, &block) __new__(dataset.__send__(__method__, *args, &block)) end
order_by(*args, &block)
click to toggle source
# File lib/rom/rethinkdb/relation.rb, line 29 def order_by(*args, &block) __new__(dataset.__send__(__method__, *args, &block)) end
pluck(*args, &block)
click to toggle source
# File lib/rom/rethinkdb/relation.rb, line 25 def pluck(*args, &block) __new__(dataset.__send__(__method__, *args, &block)) end
rql()
click to toggle source
# File lib/rom/rethinkdb/relation.rb, line 13 def rql dataset.rql end