map

fun map(controlName: String, dbColumn: String? = null)

Parameters

controlName

Control name or path to it, e.g. "basic_info/name" for a field in a section.

dbColumn

Column; defaults to the last path segment in snake_case.