toMap

abstract fun toMap(obj: T): Map<String, Any?>

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