instance method
high_precision_current_timestamp
Ruby on Rails 8.0.4
Since v7.0.10Signature
high_precision_current_timestamp()
Returns an Arel SQL literal for the CURRENT_TIMESTAMP for usage with arbitrary precision date/time columns.
Adapters supporting datetime with precision should override this to provide as much precision as is available.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 536
def high_precision_current_timestamp
HIGH_PRECISION_CURRENT_TIMESTAMP
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 536
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements