Module: Diary::ModelQuery

Extended by:
ActiveSupport::Concern
Included in:
Model
Defined in:
lib/diary-ruby/model.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included

Instance Method Details

#timestamp_sqlObject

Instance Methods



8
9
10
# File 'lib/diary-ruby/model.rb', line 8

def timestamp_sql
  "strftime('%Y-%m-%dT%H:%M:%S+0000')"
end