Class: GoogleDataSource::DataSource::Sql::ComparePredicate

Inherits:
Predicate show all
Defined in:
lib/google_data_source/sql/models.rb

Instance Method Summary collapse

Instance Method Details

#op_nameObject



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_sObject



122
123
124
# File 'lib/google_data_source/sql/models.rb', line 122

def to_s
  "#{left} #{op_name} #{right}"
end