# aexecute_cql

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/cassandra/aexecute_cql)

Execute a CQL query asynchronously.

## Signature

```python
aexecute_cql(
    session: Session,
    query: str,
    **kwargs: Any = {},
) -> Any
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `session` | `Session` | Yes | The Cassandra session to use. |
| `query` | `str` | Yes | The CQL query to execute. |
| `kwargs` | `Any` | No | Additional keyword arguments to pass to the session execute method. (default: `{}`) |

## Returns

`Any`

The result of the query.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/cassandra.py#L38)