create

fun create(multirangeOid: Int, rangeOid: Int, ranges: List<PgRange>): PgMultirange

Creates a multirange from ranges that are already of the right range type.

Nothing is normalized or validated here; the server does that when the value reaches it.

Return

The constructed PgMultirange.

Parameters

multirangeOid

OID of the multirange type.

rangeOid

OID of the range type it contains.

ranges

The ranges to hold.