[PR #77] Support for jsonb array comparision for $in $nin operator #156

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/77
Author: @jernkuan
Created: 6/24/2024
Status: 🔄 Open

Base: mainHead: in_nin_arrays_with_contains


📝 Commits (1)

  • caeeebd Support for jsonb array comparision for $in $nin operator

📊 Changes

3 files changed (+59 additions, -5 deletions)

View changed files

📝 langchain_postgres/vectorstores.py (+24 -5)
📝 tests/__init__.py (+7 -0)
📝 tests/unit_tests/fixtures/filtering_test_cases.py (+28 -0)

📄 Description

  • make use of or_ing @> instead of ?| as ?| only support text

🔄 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/77 **Author:** [@jernkuan](https://github.com/jernkuan) **Created:** 6/24/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `in_nin_arrays_with_contains` --- ### 📝 Commits (1) - [`caeeebd`](https://github.com/langchain-ai/langchain-postgres/commit/caeeebd688491f4566697219a27b6aa521390fc7) Support for jsonb array comparision for $in $nin operator ### 📊 Changes **3 files changed** (+59 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/vectorstores.py` (+24 -5) 📝 `tests/__init__.py` (+7 -0) 📝 `tests/unit_tests/fixtures/filtering_test_cases.py` (+28 -0) </details> ### 📄 Description - make use of or_ing @> instead of ?| as ?| only support text --- <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:47 -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#156