SQLWarning
classin packageklyn.databases.sql
public class SQLWarning extends SQLException:
└ SQLWarning

Non-fatal SQL warning.

Warnings are chained through nextWarning.

import klyn.databases.sql

warning = SQLWarning("Query used an implicit cast")
print(warning.message)
Properties
Modifier and Type Member Description
public property nextWarning
nextWarning as SQLWarning
Optional next warning in the chain.
Inherited Properties
propertyInherited Properties from SQLException: sqlState, vendorCode
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public SQLWarning
SQLWarning(message as String = "", sqlState as String = "", vendorCode as Int = 0):
Creates an SQL warning.
Inherited Methods
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml