Sha256: bebc10f8cdadda32db83efc93e5a158f2141211ffa7029aff8ea6bec1539f859

Contents?: true

Size: 772 Bytes

Versions: 1

Compression:

Stored size: 772 Bytes

Contents

module Scenic
  module Adapters
    class Mysql
      # Raised when a materialized view operation is attempted on a database
      # version that does not support materialized views.
      #
      # Materialized views are not supported on Mysql.
      class MaterializedViewsNotSupportedError < StandardError
        def initialize
          super('Materialized views not supported in Mysql')
        end
      end

      # Raised when attempting a concurrent materialized view refresh on a
      # database version that does not support that.
      #
      # Materialized views are not supported on Mysql.
      class ConcurrentRefreshesNotSupportedError < MaterializedViewsNotSupportedError
        def initialize
          super
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scenic-mysql-0.1.0 lib/scenic/adapters/mysql/errors.rb