Sha256: 5b56aef5cb9c05dda5477f58ce0059e7e7325b218cc83e0e40d1f0907e8b1bf8

Contents?: true

Size: 307 Bytes

Versions: 15

Compression:

Stored size: 307 Bytes

Contents

module Searchlogic
  module Condition
    class GreaterThanOrEqualTo < Base
      class << self
        def condition_names_for_column
          super + ["gte", "at_least", "least"]
        end
      end
      
      def to_conditions(value)
        ["#{column_sql} >= ?", value]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
schof-searchlogic-0.0.2 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.4 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.9 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.10 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.7 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.0 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.1 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.3 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.6 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.5.8 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.2 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.6 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.5 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.3 lib/searchlogic/condition/greater_than_or_equal_to.rb
searchlogic-1.6.4 lib/searchlogic/condition/greater_than_or_equal_to.rb