Class: GoogleDataSource::DataSource::Sql::ComparePredicate
- Inherits:
-
Predicate
- Object
- WithHelpers
- Predicate
- GoogleDataSource::DataSource::Sql::ComparePredicate
- Defined in:
- lib/google_data_source/sql/models.rb
Instance Method Summary collapse
Instance Method Details
#op_name ⇒ Object
126 127 128 |
# File 'lib/google_data_source/sql/models.rb', line 126 def op_name case op when :"!=" then "<>" else op.to_s end end |
#to_s ⇒ Object
122 123 124 |
# File 'lib/google_data_source/sql/models.rb', line 122 def to_s "#{left} #{op_name} #{right}" end |