createMultirange

fun createMultirange(typeName: String, schema: String = "", vararg ranges: PgRange): PgMultirange

Creates a new instance of a PostgreSQL multirange type using its name and schema.

Return

A new io.github.octaviusframework.driver.container.PgMultirange instance.

Parameters

typeName

The name of the multirange type.

schema

The schema where the multirange type is defined.

ranges

The ranges included in the multirange.


fun createMultirange(oid: Int, vararg ranges: PgRange): PgMultirange

Creates a new instance of a PostgreSQL multirange type using its Object ID (OID).

Return

A new PgMultirange instance.

Parameters

oid

The OID of the multirange type.

ranges

The ranges included in the multirange.