Query.Metadata.findColumn()

Signature

int findColumn(String queryName, String columnName)

Domain

ACTION, CONDITION

Description

Finds the index of a column in the result of the query.

Parameters

NameTypeDescription
queryNameStringname of the query.
columnNameStringname of a column in the result of the query.

Returns

TypeDescription
intindex of that column or -1 if the column was not found.

Cautions

none