Sha256: 5f05ec165d2317206f8701429df0cba1a5db0a33cb3ba1a9aaa4d07adacaa7f7

Contents?: true

Size: 153 Bytes

Versions: 2

Compression:

Stored size: 153 Bytes

Contents

class Baza::Driver::Sqlite3::Sqlspecs < Baza::Sqlspecs
  def strftime(val, col_str)
    return "STRFTIME('#{val}', SUBSTR(#{col_str}, 0, 20))"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
baza-0.0.19 lib/baza/drivers/sqlite3/sqlspecs.rb
baza-0.0.18 lib/baza/drivers/sqlite3/sqlspecs.rb