Sha256: 0478b1ee2761280075fa47d320e6c3a5e90f412afbaf745fd4472f4dec358463

Contents?: true

Size: 367 Bytes

Versions: 5

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true
module Arel
  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

5 entries across 5 versions & 3 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/join_source.rb
spiral_form-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/join_source.rb
nullifyable-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/join_source.rb
arel-9.0.0 lib/arel/nodes/join_source.rb
arel-8.0.0 lib/arel/nodes/join_source.rb