DataTruncation
classin packageklyn.databases.sql
public class DataTruncation extends SQLWarning:
Warning raised when data is truncated during read or write.
import klyn.databases.sql
warning = DataTruncation()
warning.index = 2
warning.parameter = true
warning.dataSize = 200
warning.transferSize = 64
print(warning.index)
Properties
| Modifier and Type |
Member |
Description |
| public property |
dataSize |
Original value size. |
| public property |
index |
Column or parameter index. |
| public property |
parameter |
True when the truncation happened on a parameter write. |
| public property |
read |
True when the truncation happened on a read operation. |
| public property |
transferSize |
Transferred value size. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
DataTruncation |
Creates a data truncation warning. |