class

Clear::Expression::Node::InRange

Inherits Clear::Expression::Node < Clear::Expression::JSONB::Node < Reference < Object

A node managing the rendering a range in Postgres.

Example:

value.in?(1..5)

will render:

value >= 1 AND value < 5

Inclusion and exclusion of the last number of the range is featured

Constructors

new(target : Node, range : Range(String, String), exclusive : Bool = false)
Source

Instance methods

resolve
Source