Sha256: b091d24d4454137385bc6d21652c8be7dea7d94da78089b7df098f080936c7bc
Contents?: true
Size: 452 Bytes
Versions: 18
Compression:
Stored size: 452 Bytes
Contents
module DataMapper class Repository # 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. def search(query, limit = :all) adapter.search(query, limit) end end end
Version data entries
18 entries across 18 versions & 1 rubygems