Sha256: db6320c40d0f7063f31cab821235ef7129ed4b82f8a33ae92d10310985624da1
Contents?: true
Size: 645 Bytes
Versions: 9
Compression:
Stored size: 645 Bytes
Contents
module Scenic module Generators # @api private module Materializable extend ActiveSupport::Concern included do class_option :materialized, type: :boolean, required: false, desc: "Makes the view materialized", default: false class_option :no_data, type: :boolean, required: false, desc: "Adds WITH NO DATA when materialized view creates/updates", default: false end private def materialized? options[:materialized] end def no_data? options[:no_data] end end end end
Version data entries
9 entries across 9 versions & 2 rubygems