public interface ResultSetMetaData:
import klyn.databases.sql metadata = rows.metadata print(metadata.columnCount) print(metadata.columnName(1))
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | columnCountcolumnCount as Int |
Number of columns described by this metadata object. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | autoIncrementautoIncrement(index as Int) as Boolean throws SQLException |
Returns true for auto-increment columns. |
| public | caseSensitivecaseSensitive(index as Int) as Boolean throws SQLException |
Returns true for case-sensitive columns. |
| public | catalogNamecatalogName(index as Int) as String throws SQLException |
Returns the catalog name for one column. |
| public | columnClassNamecolumnClassName(index as Int) as String throws SQLException |
Returns the driver value-class name for one column. |
| public | columnLabelcolumnLabel(index as Int) as String throws SQLException |
Returns the display label for one column. |
| public | columnNamecolumnName(index as Int) as String throws SQLException |
Returns the declared column name. |
| public | columnTypecolumnType(index as Int) as Int throws SQLException |
Returns the JDBC-style SQL type code for one column. |
| public | columnTypeNamecolumnTypeName(index as Int) as String throws SQLException |
Returns the SQL type name for one column. |
| public | definitelyWritabledefinitelyWritable(index as Int) as Boolean throws SQLException |
Returns true for definitely-writable columns. |
| public | displaySizedisplaySize(index as Int) as Int throws SQLException |
Returns the display size for one column. |
| public | nullabilitynullability(index as Int) as Nullability throws SQLException |
Returns the nullability contract for one column. |
| public | precisionprecision(index as Int) as Int throws SQLException |
Returns the numeric precision for one column. |
| public | readOnlyreadOnly(index as Int) as Boolean throws SQLException |
Returns true for read-only columns. |
| public | scalescale(index as Int) as Int throws SQLException |
Returns the numeric scale for one column. |
| public | schemaNameschemaName(index as Int) as String throws SQLException |
Returns the schema name for one column. |
| public | searchablesearchable(index as Int) as Boolean throws SQLException |
Returns true for searchable columns. |
| public | signedsigned(index as Int) as Boolean throws SQLException |
Returns true for signed numeric columns. |
| public | tableNametableName(index as Int) as String throws SQLException |
Returns the table name for one column. |
| public | writablewritable(index as Int) as Boolean throws SQLException |
Returns true for writable columns. |