ParameterMetaData
interfacein packageklyn.databases.sql
public interface ParameterMetaData:
ParameterMetaData

Parameter metadata contract for prepared and callable SQL statements.

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 getParameterCount
getParameterCount() as Int
Method form of the `parameterCount` property.
public getParameterMode
getParameterMode(index as Int) as ParameterMode throws SQLException
Method-form alias of `parameterMode(.
public getParameterType
getParameterType(index as Int) as Int throws SQLException
Method-form alias of `parameterType(.
public getParameterTypeName
getParameterTypeName(index as Int) as String throws SQLException
Method-form alias of `parameterTypeName(.
public getPrecision
getPrecision(index as Int) as Int throws SQLException
Method-form alias of `precision(.
public getScale
getScale(index as Int) as Int throws SQLException
Method-form alias of `scale(.
public isNullable
isNullable(index as Int) as Nullability throws SQLException
Method-form alias of `nullability(.
public isSigned
isSigned(index as Int) as Boolean throws SQLException
Method-form alias of `signed(.
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 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.