# query.rowDataByIndex()



**Introduced:** 5.3.4.34

```
query.rowDataByIndex( index=string, defaultValue=struct )
```

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| index | string | Yes | Name of the index |  |
| defaultValue | struct | No | In case no matching index was found, this value is returned by the function, in case it is not set, the function will throw an exception. |  |

# Examples

*There are currently no examples for this function*

# Categories

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

# See Also

[QueryRowDataByIndex()](../../functions/queryrowdatabyindex.md), [Query](../query.md)