Function mapMssqlTypeToJsonFormat

  • Maps MSSQL data types to corresponding JSON Schema formats.

    Parameters

    • mssqlType: string

      The MSSQL data type.

    • colName: string

      The column name for potential additional format inference.

    Returns string | undefined

    The JSON Schema format if applicable.