Module: Arel::Predications

Defined in:
lib/mysql/search/queries/full_text_search_query.rb

Overview

Adds a method to the ‘Arel::Nodes::Node` class to allow for full-text search queries.

Instance Method Summary collapse

Instance Method Details

#against(other) ⇒ Object



28
29
30
# File 'lib/mysql/search/queries/full_text_search_query.rb', line 28

def against(other)
  Arel::Nodes::Against.new(self, quoted_node(other))
end