SQLValueReader
class in package klyn.data.sql.internal

    public final class SQLValueReader:

SQLValueReader

Checked conversion from one SQL result value to an exact mapped Klyn type.

    value = SQLValueReader.read(rows, 1, Int.type)

Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | read `read(rows as ResultSet, index as Int, targetType as Type) as Object:` | Reads and converts one column without silent narrowing.
public static | readTypeName `readTypeName(rows as ResultSet, index as Int, typeName as String) as Object:` | Reads one SQL value using the exact static type name carried by QIR.