PgMultirange

class PgMultirange(val multirangeOid: Int, val rangeOid: Int, val ranges: List<PgRange>) : PgContainer

Represents a PostgreSQL multirange structure from the database.

Constructors

Link copied to clipboard
internal constructor(multirangeOid: Int, rangeOid: Int, ranges: List<PgRange>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val containerOid: Int

OID of the container's own type — the array type rather than its element type, the range type rather than its subtype.

Link copied to clipboard

OID of the multirange type.

Link copied to clipboard

OID of the base range type contained in this multirange.

Link copied to clipboard

List of ranges contained in this multirange.

Link copied to clipboard
val size: Int

How many ranges this multirange holds.

Functions

Link copied to clipboard
operator fun get(index: Int): PgRange

Returns the range at index.

Link copied to clipboard

Returns the ranges as a list.