Method: Sequel::Oracle::DatasetMethods#constant_sql_append
- Defined in:
- lib/sequel/adapters/shared/oracle.rb
#constant_sql_append(sql, c) ⇒ Object
Oracle doesn’t support CURRENT_TIME, as it doesn’t have a type for storing just time values without a date, so use CURRENT_TIMESTAMP in its place.
375 376 377 378 379 380 381 |
# File 'lib/sequel/adapters/shared/oracle.rb', line 375 def constant_sql_append(sql, c) if c == :CURRENT_TIME super(sql, :CURRENT_TIMESTAMP) else super end end |