- TIBCO BusinessEvents®
- CEP Query
- Query
- Metadata

# 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

Name | Type | Description
--- | --- | ---
`queryName` | `String` | name of the query.
`columnName` | `String` | name of a column in the result of the query.

## Returns

Type | Description
--- | ---
`int` | index of that column or -1 if the column was not found.

## Cautions

none