klyn.databases.sql.SQLWarning.SQLWarning
constructor

    public SQLWarning(message as String = "", sqlState as String = "", vendorCode as Int = 0):

Description

Creates an SQL warning.

Parameters

Parameter | Description
--- | ---
`message` | Human-readable warning text.
`sqlState` | Optional SQL state.
`vendorCode` | Optional vendor-specific warning code.

Example

    import klyn.databases.sql

    warning = SQLWarning("Using default schema")
    print(warning.sqlState)