# query.columnExists()

Determines whether a specific column is present in a query.

```
query.columnExists( column=string )
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| column | string | Yes | Name of the column. |  |

# Examples

```cfml
myquery = queryNew("id,name");
writeDump(myquery.columnexists("age"));
writeDump(myquery.columnexists("name"));
```

# Categories

[Queries](../../../categories/query.md)

# See Also

[QueryColumnExists()](../../functions/querycolumnexists.md), [Query](../query.md)