klyn.databases.sql.SQLWarning.SQLWarning
constructor
public SQLWarning(message as String = "", sqlState as String = "", vendorCode as Int = 0):
Description

Creates an SQL warning.

Parameters
ParameterDescription
messageHuman-readable warning text.
sqlStateOptional SQL state.
vendorCodeOptional vendor-specific warning code.
Example
import klyn.databases.sql

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