Fix: Enhance V3 Search with 'contains', 'startswith', 'endswith' operators and improve error reporting.

This commit is contained in:
Scott Idem
2026-01-02 20:42:19 -05:00
parent f865b1cfb7
commit f5ab2118ad
5 changed files with 56 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ class SearchFilter(BaseModel):
Example: {"field": "price", "op": "gt", "value": 100}
"""
field: str
op: str # eq, ne, gt, gte, lt, lte, like, in, is_null, is_not_null
op: str # eq, ne, gt, gte, lt, lte, like, in, is_null, is_not_null, contains, startswith, endswith
value: Optional[Any] = None
class SearchQuery(BaseModel):