Class: AdminData::Search::OracleSpecific
- Inherits:
-
Dbbase
- Object
- Dbbase
- AdminData::Search::OracleSpecific
show all
- Defined in:
- lib/admin_data/search.rb
Instance Method Summary
collapse
Methods inherited from Dbbase
#initialize, #like_operator
Instance Method Details
#operands ⇒ Object
37
38
39
40
|
# File 'lib/admin_data/search.rb', line 37
def operands
result = super
%w(contains is_exactly does_not_contain).include?(@operator) ? result.upcase : result
end
|
#sql_field_name ⇒ Object
32
33
34
35
|
# File 'lib/admin_data/search.rb', line 32
def sql_field_name
result = super
%w(contains is_exactly does_not_contain).include?(@operator) ? "upper(#{result})" : result
end
|