toSqlWhere
function toSqlWhere(filter?, startParamIndex?): SqlWhereResult;Translate Kuralle’s MongoDB-style VectorFilter into a PostgreSQL WHERE
clause targeting a metadata JSONB column. Values are parameterized;
operators not in the supported set throw UnsupportedFilterOperatorError.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
|
|
|
MongoDB-style filter. |
|
|
|
|
|
First positional parameter index (defaults to 1).
Pass |