Class: Baza::Driver::Mysql::Sqlspecs
- Defined in:
- lib/baza/driver/mysql/sqlspecs.rb
Instance Method Summary collapse
Methods inherited from Sqlspecs
Constructor Details
This class inherits a constructor from Baza::Sqlspecs
Instance Method Details
#strftime(val, colstr) ⇒ Object
2 3 4 |
# File 'lib/baza/driver/mysql/sqlspecs.rb', line 2 def strftime(val, colstr) "DATE_FORMAT(#{colstr}, '#{val}')" end |