class Sequel::ODBC::MSSQL::Dataset

Private Instance Methods

default_timestamp_format() click to toggle source

Use ODBC format, not Microsoft format, as the ODBC layer does some translation.

# File lib/sequel/adapters/odbc/mssql.rb, line 38
def default_timestamp_format
  TIMESTAMP_FORMAT
end
literal_date(v) click to toggle source

Use ODBC format, not Microsoft format, as the ODBC layer does some translation.

# File lib/sequel/adapters/odbc/mssql.rb, line 44
def literal_date(v)
  v.strftime(ODBC_DATE_FORMAT)
end