ParameterMetaData
interfacein packageklyn.databases.sql
public interface ParameterMetaData:
ParameterMetaData
Parameter metadata contract inspired by `java.sql.ParameterMetaData`.
import klyn.databases.sql

info = prepared.parameterInfo
print(info.parameterCount)
Properties
Modifier and Type Member Description
public readonly property parameterCount
parameterCount as Int
Number of declared parameters.
Methods
Modifier and Type Member Description
public nullability
nullability(index as Int) as Nullability throws SQLException
Returns the nullability contract for one parameter.
public parameterMode
parameterMode(index as Int) as ParameterMode throws SQLException
Returns the mode for one parameter.
public parameterType
parameterType(index as Int) as Int throws SQLException
Returns the JDBC-style SQL type code for one parameter.
public parameterTypeName
parameterTypeName(index as Int) as String throws SQLException
Returns the SQL type name for one parameter.
public precision
precision(index as Int) as Int throws SQLException
Returns the numeric precision for one parameter.
public scale
scale(index as Int) as Int throws SQLException
Returns the numeric scale for one parameter.
public signed
signed(index as Int) as Boolean throws SQLException
Returns true for signed numeric parameters.