Class: Arel::Nodes::ToTsvector
- Inherits:
-
NamedFunction
- Object
- NamedFunction
- Arel::Nodes::ToTsvector
- Defined in:
- lib/pg_searchable/arel/nodes/to_tsvector.rb
Instance Method Summary collapse
-
#initialize(query, dictionary = 'simple') ⇒ ToTsvector
constructor
A new instance of ToTsvector.
Constructor Details
#initialize(query, dictionary = 'simple') ⇒ ToTsvector
Returns a new instance of ToTsvector.
6 7 8 |
# File 'lib/pg_searchable/arel/nodes/to_tsvector.rb', line 6 def initialize(query, dictionary = 'simple') super(:to_tsvector, [dictionary, query]) end |