columnName
Function: columnName()
columnName(
name,naming):string
Defined in: packages/sql-schema/src/columns.ts:171
Physical name of a field
Parameters
name
string
the field name
naming
"preserve" | "snake_case"
the naming option
Returns
string
the column name: unchanged with preserve, createdAt → created_at with snake_case (leading
underscores kept: _creationDate → _creation_date)