[PR #59] Support for jsonb array comparision for $in $nin operator #141

Open
opened 2026-02-16 05:16:44 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/59
Author: @jernkuan
Created: 5/29/2024
Status: 🔄 Open

Base: mainHead: in_nin_with_arrays


📝 Commits (1)

  • 939aae6 Support for jsonb array comparision for $in $nin operator

📊 Changes

2 files changed (+28 additions, -2 deletions)

View changed files

📝 langchain_postgres/vectorstores.py (+8 -2)
📝 tests/unit_tests/fixtures/filtering_test_cases.py (+20 -0)

📄 Description

Current we are not able to check whether the jsonb array includes a value within a list. Likewise for checking array does not include any value in target list.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/59 **Author:** [@jernkuan](https://github.com/jernkuan) **Created:** 5/29/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `in_nin_with_arrays` --- ### 📝 Commits (1) - [`939aae6`](https://github.com/langchain-ai/langchain-postgres/commit/939aae6dcbdcafebaa9b610241c82c778473bd76) Support for jsonb array comparision for $in $nin operator ### 📊 Changes **2 files changed** (+28 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/vectorstores.py` (+8 -2) 📝 `tests/unit_tests/fixtures/filtering_test_cases.py` (+20 -0) </details> ### 📄 Description Current we are not able to check whether the jsonb array includes a value within a list. Likewise for checking array does not include any value in target list. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:16:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#141