# QueryOptions

> **Class** in `langchain_postgres`

📖 [View in docs](https://reference.langchain.com/python/langchain-postgres/v2/indexes/QueryOptions)

## Signature

```python
QueryOptions(
    self,
)
```

## Extends

- `ABC`

## Constructors

```python
__init__(
    self,
) -> None
```


## Methods

- [`to_parameter()`](https://reference.langchain.com/python/langchain-postgres/v2/indexes/QueryOptions/to_parameter)
- [`to_string()`](https://reference.langchain.com/python/langchain-postgres/v2/indexes/QueryOptions/to_string)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-postgres/blob/9d819182da7e3fb1b815e6c9a6b7c2cd1eb4bc0e/langchain_postgres/v2/indexes.py#L90)