Package-level declarations
Functions
Link copied to clipboard
internal fun PgComposite.attributesAsMap(valueType: KType, context: DeserializationContext): Map<String, Any?>
Every attribute of this composite, keyed by name, each one converted to valueType.
Link copied to clipboard
A converter that reads every composite as a Map<String, Any?>, whatever it is registered as.
fun compositesAsMaps(types: Collection<QualifiedName>): ResultConverter<PgComposite, Map<String, Any?>>
The same, for several named types at once.
fun compositesAsMaps(name: String, schema: String = ""): ResultConverter<PgComposite, Map<String, Any?>>
The same, for one composite type: values of that type come back as maps and every other composite still maps onto whatever class it is registered as.