Module: SQLite::Nocase
- Defined in:
- lib/sqlite_nocase.rb
Instance Method Summary collapse
Instance Method Details
#add_column_options!(sql, options, type = :nothing) ⇒ Object
:nodoc:
3 4 5 6 7 8 |
# File 'lib/sqlite_nocase.rb', line 3 def (sql, , type = :nothing) #:nodoc: super( sql, ) if sql =~ /varchar/ || sql =~ /text/ sql << " COLLATE NOCASE" end end |