Sha256: 255ec7ecf3bb55de5dbb0ccacf7ac4dac2efd749cce3d18498141c16710d6539

Contents?: true

Size: 383 Bytes

Versions: 39

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    ###
    # Class that represents a join source
    #
    #   http://www.sqlite.org/syntaxdiagrams.html#join-source

    class JoinSource < Arel::Nodes::Binary
      def initialize(single_source, joinop = [])
        super
      end

      def empty?
        !left && right.empty?
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 4 rubygems

Version Path
activerecord-6.0.6.1 lib/arel/nodes/join_source.rb
activerecord-6.0.6 lib/arel/nodes/join_source.rb
activerecord-6.0.5.1 lib/arel/nodes/join_source.rb
activerecord-6.0.5 lib/arel/nodes/join_source.rb
activerecord-6.0.4.8 lib/arel/nodes/join_source.rb
activerecord-6.0.4.7 lib/arel/nodes/join_source.rb
activerecord-6.0.4.6 lib/arel/nodes/join_source.rb
activerecord-6.0.4.5 lib/arel/nodes/join_source.rb
activerecord-6.0.4.4 lib/arel/nodes/join_source.rb
activerecord-6.0.4.3 lib/arel/nodes/join_source.rb
activerecord-6.0.4.2 lib/arel/nodes/join_source.rb
activerecord-6.0.4.1 lib/arel/nodes/join_source.rb
activerecord-6.0.4 lib/arel/nodes/join_source.rb
activerecord-6.0.3.7 lib/arel/nodes/join_source.rb
activerecord-6.0.3.6 lib/arel/nodes/join_source.rb
activerecord-6.0.3.5 lib/arel/nodes/join_source.rb
activerecord-6.0.3.4 lib/arel/nodes/join_source.rb
activerecord-6.0.3.3 lib/arel/nodes/join_source.rb
activerecord-6.0.3.2 lib/arel/nodes/join_source.rb
activerecord-6.0.3.1 lib/arel/nodes/join_source.rb