Function: sqlTypeToColumnType()
sqlTypeToColumnType(
sqlType,adapter,maxLength?):string
Defined in: src/codegen/EntityToMigrationBuilder.ts:9
Maps a SqlType to a dialect-appropriate SQL column type string.
Parameters
| Parameter | Type |
|---|---|
sqlType | SqlType | undefined |
adapter | IDbAdapter |
maxLength? | number |
Returns
string