Skip to content

Conversation

@hyprh
Copy link
Contributor

@hyprh hyprh commented Nov 26, 2025

No description provided.

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

❌ Patch coverage is 94.23077% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.29099%. Comparing base (42a1bba) to head (b2bdd20).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...wledge/vectorstore/pgvector/condition_converter.go 76.92308% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##                main        #754         +/-   ##
===================================================
+ Coverage   87.28073%   87.29099%   +0.01025%     
===================================================
  Files            276         276                 
  Lines          35914       35943         +29     
===================================================
+ Hits           31346       31375         +29     
  Misses          2987        2987                 
  Partials        1581        1581                 
Flag Coverage Δ
unittests 87.29099% <94.23077%> (+0.01025%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

searchfilter.Like(field, pattern) // field LIKE pattern
searchfilter.Between(field, min, max) // field BETWEEN min AND max
// Comparison operators (Note: metadata fields need metadata. prefix)
searchfilter.Equal("metadata.topic", value) // metadata.topic = value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里可以加一个searchfilter.GreaterThanOrEqual("updated_at", value),表示使用外层字段, 区别于metadata字段的过滤场景

searchfilter.Between(field, min, max) // field BETWEEN min AND max
// Comparison operators (Note: metadata fields need metadata. prefix)
searchfilter.Equal("metadata.topic", value) // metadata.topic = value
searchfilter.NotEqual("metadata.status", value) // metadata.status != value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

也可以在加一个searchfilter.NotEqual("status", value),表示用户自定义表结构时使用的查询字段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants