createComposite

fun createComposite(typeName: String, schema: String = ""): PgComposite

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

Return

A new io.github.octaviusframework.driver.container.PgComposite instance with empty fields.

Parameters

typeName

The name of the composite type.

schema

The schema where the composite type is defined.


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

Return

A new PgComposite instance with empty fields.

Parameters

oid

The OID of the composite type.