# StrategyMixin

> **Class** in `langchain_postgres`

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

## Signature

```python
StrategyMixin(
    self,
    operator: str,
    search_function: str,
    index_function: str,
)
```

## Constructors

```python
__init__(
    self,
    operator: str,
    search_function: str,
    index_function: str,
) -> None
```

| Name | Type |
|------|------|
| `operator` | `str` |
| `search_function` | `str` |
| `index_function` | `str` |


## Properties

- `operator`
- `search_function`
- `index_function`

---

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