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.13.3 app/models/refine/conditions/clauses.rb
refine-rails-2.13.2 app/models/refine/conditions/clauses.rb
refine-rails-2.13.1 app/models/refine/conditions/clauses.rb
refine-rails-2.13.0 app/models/refine/conditions/clauses.rb
refine-rails-2.12.2 app/models/refine/conditions/clauses.rb
refine-rails-2.12.1 app/models/refine/conditions/clauses.rb
refine-rails-2.12.0 app/models/refine/conditions/clauses.rb
refine-rails-2.11.12 app/models/refine/conditions/clauses.rb
refine-rails-2.11.11 app/models/refine/conditions/clauses.rb
refine-rails-2.11.10 app/models/refine/conditions/clauses.rb
refine-rails-2.11.9 app/models/refine/conditions/clauses.rb
refine-rails-2.11.8 app/models/refine/conditions/clauses.rb
refine-rails-2.11.6 app/models/refine/conditions/clauses.rb
refine-rails-2.11.5 app/models/refine/conditions/clauses.rb
refine-rails-2.11.4 app/models/refine/conditions/clauses.rb
refine-rails-2.11.3 app/models/refine/conditions/clauses.rb
refine-rails-2.11.2 app/models/refine/conditions/clauses.rb
refine-rails-2.11.1 app/models/refine/conditions/clauses.rb
refine-rails-2.11.0 app/models/refine/conditions/clauses.rb
refine-rails-2.10.1 app/models/refine/conditions/clauses.rb