Sha256: f8a0d163d2b8674f5b541ad812375e029d16bd7fc72946fc51449453fca8bf55

Contents?: true

Size: 635 Bytes

Versions: 36

Compression:

Stored size: 635 Bytes

Contents

module Refine::Conditions
  class Clauses
    EQUALS = "eq"
    DOESNT_EQUAL = "dne"

    SET = "st"
    NOT_SET = "nst"

    TRUE = "true"
    FALSE = "false"

    LESS_THAN_OR_EQUAL = "lte"
    LESS_THAN = "lt"
    BETWEEN = "btwn"
    NOT_BETWEEN = "nbtwn"
    GREATER_THAN = "gt"
    GREATER_THAN_OR_EQUAL = "gte"

    EXACTLY = "exct"

    EXISTS = "exst"
    DOESNT_EXIST = "dexst"

    IN = "in"
    NOT_IN = "nin"

    CONTAINS = "cont"
    DOESNT_CONTAIN = "dcont"

    STARTS_WITH = "sw"
    ENDS_WITH = "ew"

    DOESNT_START_WITH = "dsw"
    DOESNT_END_WITH = "dew"

    FLIPPABLE = [NOT_IN, DOESNT_EQUAL].freeze
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
refine-rails-2.10.0 app/models/refine/conditions/clauses.rb
refine-rails-2.9.14 app/models/refine/conditions/clauses.rb
refine-rails-2.9.13 app/models/refine/conditions/clauses.rb
refine-rails-2.9.12 app/models/refine/conditions/clauses.rb
refine-rails-2.9.11 app/models/refine/conditions/clauses.rb
refine-rails-2.9.10 app/models/refine/conditions/clauses.rb
refine-rails-2.9.9 app/models/refine/conditions/clauses.rb
refine-rails-2.9.8 app/models/refine/conditions/clauses.rb
refine-rails-2.9.7 app/models/refine/conditions/clauses.rb
refine-rails-2.9.6 app/models/refine/conditions/clauses.rb
refine-rails-2.9.5 app/models/refine/conditions/clauses.rb
refine-rails-2.9.4 app/models/refine/conditions/clauses.rb
refine-rails-2.9.3 app/models/refine/conditions/clauses.rb
refine-rails-2.9.2 app/models/refine/conditions/clauses.rb
refine-rails-2.9.1 app/models/refine/conditions/clauses.rb
refine-rails-2.9.0 app/models/refine/conditions/clauses.rb