Class: AttrSearchableGrammar::Nodes::MatchesFulltext
- Inherits:
-
Binary
- Object
- Binary
- AttrSearchableGrammar::Nodes::MatchesFulltext
show all
- Includes:
- Base
- Defined in:
- lib/attr_searchable_grammar/nodes.rb
Instance Attribute Summary
Attributes inherited from Binary
#left, #right
Instance Method Summary
collapse
Methods included from Base
#and, #can_flatten?, #can_group?, #can_optimize?, #flatten!, #group!, #nodes, #optimize!, #or, #to_sql
Methods inherited from Binary
#initialize
Instance Method Details
#collection ⇒ Object
106
107
108
|
# File 'lib/attr_searchable_grammar/nodes.rb', line 106
def collection
left
end
|
#finalize! ⇒ Object
102
103
104
|
# File 'lib/attr_searchable_grammar/nodes.rb', line 102
def finalize!
FulltextExpression.new collection, self
end
|
#fulltext? ⇒ Boolean
98
99
100
|
# File 'lib/attr_searchable_grammar/nodes.rb', line 98
def fulltext?
true
end
|
#not ⇒ Object
94
95
96
|
# File 'lib/attr_searchable_grammar/nodes.rb', line 94
def not
MatchesFulltextNot.new left, right
end
|