Module: DataMapper::Searcher::ClassMethods
- Defined in:
- lib/dm-searcher/searcher.rb
Instance Method Summary collapse
-
#search(opts = {}) ⇒ DataMapper::Collection
Valid symbol operators for the conditions are:.
Instance Method Details
#search(opts = {}) ⇒ DataMapper::Collection
Valid symbol operators for the conditions are:
gt # greater than
lt # less than
gte # greater than or equal
lte # less than or equal
not # not equal
eql # equal
like # like
64 65 66 67 68 |
# File 'lib/dm-searcher/searcher.rb', line 64 def search(opts = {}) = parse_opts(self, opts || {}) self.all() end |