Public Instance methods
current_datetime()
Return an instance of Sequel.datetime_class that will be literalized as CURRENT_TIMESTAMP.
[show source]
# File lib/sequel/extensions/current_datetime_timestamp.rb 34 def current_datetime 35 (Sequel.datetime_class == ::Time ? Time : DateTime).now 36 end