Method: Effective::Resources::Sql#ilike
- Defined in:
- app/models/effective/resources/sql.rb
#ilike ⇒ Object
99 100 101 |
# File 'app/models/effective/resources/sql.rb', line 99 def ilike @ilike ||= (postgres? ? 'ILIKE' : 'LIKE') # Only Postgres supports ILIKE, Mysql and Sqlite3 use LIKE end |