class Scenic::Adapters::Mysql::Connection
Decorates an ActiveRecord connection with methods that help determine the connections capabilities.
Every attempt is made to use the versions of these methods defined by Rails where they are available and public before falling back to our own implementations for older Rails versions.
@api private
Public Instance Methods
supports_concurrent_refreshes?()
click to toggle source
True if the connection supports concurrent refreshes of materialized views.
@return [Boolean]
# File lib/scenic/adapters/mysql/connection.rb, line 27 def supports_concurrent_refreshes? false end
supports_materialized_views?()
click to toggle source
True if the connection supports materialized views.
Delegates to the method of the same name if it is already defined on the connection. This is the case for Rails 4.2 or higher.
@return [Boolean]
# File lib/scenic/adapters/mysql/connection.rb, line 19 def supports_materialized_views? false end
Private Instance Methods
undecorated_connection()
click to toggle source
# File lib/scenic/adapters/mysql/connection.rb, line 33 def undecorated_connection __getobj__ end