public interface ParameterMetaData:
Parameter metadata contract for prepared and callable SQL statements.
import klyn.databases.sql info = prepared.parameterInfo print(info.parameterCount)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | parameterCountparameterCount as Int |
Number of declared parameters. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | getParameterCountgetParameterCount() as Int |
Method form of the `parameterCount` property. |
| public | getParameterModegetParameterMode(index as Int) as ParameterMode throws SQLException |
Method-form alias of `parameterMode(. |
| public | getParameterTypegetParameterType(index as Int) as Int throws SQLException |
Method-form alias of `parameterType(. |
| public | getParameterTypeNamegetParameterTypeName(index as Int) as String throws SQLException |
Method-form alias of `parameterTypeName(. |
| public | getPrecisiongetPrecision(index as Int) as Int throws SQLException |
Method-form alias of `precision(. |
| public | getScalegetScale(index as Int) as Int throws SQLException |
Method-form alias of `scale(. |
| public | isNullableisNullable(index as Int) as Nullability throws SQLException |
Method-form alias of `nullability(. |
| public | isSignedisSigned(index as Int) as Boolean throws SQLException |
Method-form alias of `signed(. |
| public | nullabilitynullability(index as Int) as Nullability throws SQLException |
Returns the nullability contract for one parameter. |
| public | parameterModeparameterMode(index as Int) as ParameterMode throws SQLException |
Returns the mode for one parameter. |
| public | parameterTypeparameterType(index as Int) as Int throws SQLException |
Returns the SQL type code for one parameter. |
| public | parameterTypeNameparameterTypeName(index as Int) as String throws SQLException |
Returns the SQL type name for one parameter. |
| public | precisionprecision(index as Int) as Int throws SQLException |
Returns the numeric precision for one parameter. |
| public | scalescale(index as Int) as Int throws SQLException |
Returns the numeric scale for one parameter. |
| public | signedsigned(index as Int) as Boolean throws SQLException |
Returns true for signed numeric parameters. |