instance method
flush
Ruby on Rails edge
Since edgeSignature
flush()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/query_intent.rb, line 35
def flush
events, @events = @events, []
events.each do |event|
event.payload[:lock_wait] = @intent.lock_wait
ActiveSupport::Notifications.publish_event(event)
end
end
Defined in activerecord/lib/active_record/connection_adapters/query_intent.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::QueryIntent::EventBuffer