Query.Statement.Metadata

Description

Functions to inspect the metadata of a statement.

Functions

NameSignature and Synopsis
findColumnint findColumn(String statementName, String columnName)
Finds the index of a column in the result of the statement.
getColumnCountint getColumnCount(String statementName)
Gets the number of columns in the result of the statement.
getColumnNameString getColumnName(String statementName, int columnIndex)
Gets the name of a column in the result of the statement.
getColumnTypeString getColumnType(String statementName, int columnIndex)
Gets the type of a column in the result set.
getQueryNameString getQueryName(String statementName)
Gets the name of the query that owns the statement.