method

high_precision_current_timestamp

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DatabaseStatements
high_precision_current_timestamp()
public

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.