mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #59] Support for jsonb array comparision for $in $nin operator #141
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-postgres/pull/59
Author: @jernkuan
Created: 5/29/2024
Status: 🔄 Open
Base:
main← Head:in_nin_with_arrays📝 Commits (1)
939aae6Support 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.