Module: ROM::Plugins::Relation::SQL::Postgres::FullTextSearch
- Defined in:
- lib/rom/plugins/relation/sql/postgres/full_text_search.rb
Overview
PG-specific extensions which adds ‘Relation#full_text_search` method
Instance Method Summary collapse
-
#full_text_search(*args, &block) ⇒ Relation
Run a full text search on PostgreSQL.
Instance Method Details
#full_text_search(*args, &block) ⇒ Relation
Run a full text search on PostgreSQL. By default, searching for the inclusion of any of the terms in any of the cols.
39 40 41 |
# File 'lib/rom/plugins/relation/sql/postgres/full_text_search.rb', line 39 def full_text_search(*args, &block) new dataset.__send__(__method__, *args, &block) end |