DefaultPgCompositeMapper

Internal marker to indicate that no explicit mapper is provided.

Functions

Link copied to clipboard
open override fun fromMap(map: Map<String, Any?>): Any

Creates an instance of T from the provided map. The map keys are the attribute names (typically in snake_case as they come from DB).

Link copied to clipboard
open override fun toMap(obj: Any): Map<String, Any?>

Converts the provided object obj to a Map. The map keys should match the PostgreSQL composite attribute names.