Sha256: b0bfc81c44aa37e31b1138716fe47f13ccf507682d11671339c4fb6690a8fcb7

Contents?: true

Size: 677 Bytes

Versions: 14

Compression:

Stored size: 677 Bytes

Contents

module Expressir
  module Model
    module Expressions
      class QueryExpression < ModelElement
        include Identifier

        model_attr_accessor :aggregate_source
        model_attr_accessor :expression

        def initialize(options = {})
          @id = options[:id]
          @remarks = options[:remarks] || []
          @remark_items = options[:remark_items] || []
          @source = options[:source]

          @aggregate_source = options[:aggregate_source]
          @expression = options[:expression]

          super
        end

        def children
          [
            self,
            *remark_items
          ]
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-1.0.0 lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-1.0.0-arm64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/expressions/query_expression.rb