Class: Scenic::Adapters::Mysql::Connection Private

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/scenic/adapters/mysql/connection.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Decorates an ActiveRecord connection with methods that help determine the connections capabilities.

As Mysql does not support materialized views, this class is a no-op

Instance Method Summary collapse

Instance Method Details

#supports_concurrent_refreshes?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

False always for Mysql

Returns:

  • (Boolean)


19
# File 'lib/scenic/adapters/mysql/connection.rb', line 19

def supports_concurrent_refreshes?; false; end

#supports_materialized_views?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

False always for Mysql

Returns:

  • (Boolean)


14
# File 'lib/scenic/adapters/mysql/connection.rb', line 14

def supports_materialized_views?; false; end