Parent

Methods

DataMapper::Repository

Public Instance Methods

search(query, limit = :all) click to toggle source

This accepts a ferret query string and an optional limit argument which defaults to all. This is the proper way to perform searches more complicated than DM's query syntax can handle (such as OR searches).

See DataMapper::Adapters::FerretAdapter#search for information on the return value.

# File lib/ferret_adapter/repository_ext.rb, line 9
def search(query, limit = :all)
  adapter.search(query, limit)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.