Fix: Enhance V3 Search with 'contains', 'startswith', 'endswith' operators and improve error reporting.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user