# There is no way to use custom filters like \`@\>\` with \`PGVectorStore\`

**URL:** <https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594>\
**Category:** LangChain\
**Tags:** js-help, feature-request\
**Created:** [September 23, 2026, 3:13am UTC](https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594 "2026-09-23T03:13:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbyoung](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/wbyoung/32/3578_2.png) [@wbyoung](https://forum.langchain.com/u/wbyoung)\
**Post date:** [September 23, 2026, 3:13am UTC](https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594/1 "2026-09-23T03:13:55Z")

</div>

It appears that it would be easy to subclass `PGVectorStore` and add support for custom operations via the `filters` if the [`buildFilterClauses` method](https://github.com/langchain-ai/langchainjs/blob/12626c25a9acdd72d2c8a68788479440916d38a1/libs/providers/langchain-pgvector/src/vectorstores.ts#L721) were not `private`.

I’m new to the community. Is this the right place to discuss that or should I just open a PR with the change?

---

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [September 23, 2026, 5:50am UTC](https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594/2 "2026-09-23T05:50:42Z")

</div>

Hello @wbyoung welcome to langchain community, better if you open an issue on [GitHub - langchain-ai/langchainjs: The agent engineering platform · GitHub](https://github.com/langchain-ai/langchainjs), and wait for maintainers response.
