Package-level declarations
Types
Link copied to clipboard
Represents a generic, user-friendly PostgreSQL multirange. This class is designed to be used in application code, mapping directly to/from io.github.octaviusframework.driver.container.PgMultirange.
Link copied to clipboard
data class Range<T : Any>(val elementClass: KClass<T>, val lowerBound: T? = null, val upperBound: T? = null, val isLowerInclusive: Boolean = true, val isUpperInclusive: Boolean = false, val isLowerInfinite: Boolean = lowerBound == null, val isUpperInfinite: Boolean = upperBound == null, val isLowerNull: Boolean = false, val isUpperNull: Boolean = false, val isEmpty: Boolean = false)
Represents a generic, user-friendly PostgreSQL range. This class is designed to be used in application code, mapping directly to/from io.github.octaviusframework.driver.container.PgRange.
Functions
Link copied to clipboard
Creates a multirange, inferring the PostgreSQL multirange type from T.
Link copied to clipboard
inline fun <T : Any> rangeOf(lowerBound: T? = null, upperBound: T? = null, isLowerInclusive: Boolean = true, isUpperInclusive: Boolean = false, isLowerInfinite: Boolean = lowerBound == null, isUpperInfinite: Boolean = upperBound == null, isLowerNull: Boolean = false, isUpperNull: Boolean = false): Range<T>
Creates a range, inferring the PostgreSQL range type from T.