class AlgebraDB::Value::Bool

Represents a Postgres boolean value.

Public Instance Methods

and(other) click to toggle source
# File lib/algebra_db/value/bool.rb, line 6
def and(other)
  Value::Bool.new(
    Build::Op.new('AND', self, other)
  )
end
decoder() click to toggle source
# File lib/algebra_db/value/bool.rb, line 26
def decoder
  Decoder.new
end
or(other) click to toggle source
# File lib/algebra_db/value/bool.rb, line 12
def or(other)
  Value::Bool.new(
    Build::Op.new('OR', self, other)
  )
end