Class: Baza::Driver::Sqlite3::Sqlspecs
- Defined in:
- lib/baza/driver/sqlite3/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, col_str) ⇒ Object
2 3 4 |
# File 'lib/baza/driver/sqlite3/sqlspecs.rb', line 2 def strftime(val, col_str) "STRFTIME('#{val}', SUBSTR(#{col_str}, 0, 20))" end |