Module Sequel::Plugins::Timestamps::ClassMethods
In: lib/sequel/plugins/timestamps.rb

Methods

Attributes

create_timestamp_field  [R]  The field to store the create timestamp
update_timestamp_field  [R]  The field to store the update timestamp

Public Instance methods

Whether to overwrite the create timestamp if it already exists

[Source]

    # File lib/sequel/plugins/timestamps.rb, line 46
46:         def create_timestamp_overwrite?
47:           @create_timestamp_overwrite
48:         end

Whether to set the update timestamp to the create timestamp when creating

[Source]

    # File lib/sequel/plugins/timestamps.rb, line 54
54:         def set_update_timestamp_on_create?
55:           @set_update_timestamp_on_create
56:         end

[Validate]