Sha256: 652dcf0b45473f7dd61c5d4c645c5a7b0f0a4df40535d3a0a7ed6c00b156b9f0

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

# encoding: utf-8

module Piglet
  module Relation
    class Limit # :nodoc:
      include Relation
    
      def initialize(relation, interpreter, n)
        @sources, @interpreter, @n = [relation], interpreter, n
      end
    
      def to_s
        "LIMIT #{@sources.first.alias} #{@n}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
piglet-0.3.0 lib/piglet/relation/limit.rb