Companion

object Companion

Functions

Link copied to clipboard
fun create(rangeOid: Int, elementOid: Int, lowerBound: Any? = null, upperBound: Any? = null, isLowerInclusive: Boolean = true, isUpperInclusive: Boolean = false, isLowerInfinite: Boolean = (lowerBound == null), isUpperInfinite: Boolean = (upperBound == null), isLowerNull: Boolean = false, isUpperNull: Boolean = false): PgRange

Creates a range, packing the bound descriptions into the protocol's flag byte.

Link copied to clipboard
fun empty(rangeOid: Int, elementOid: Int): PgRange

Creates the empty range of a given range type - the one that contains nothing.