filter_objects
Filter arrays of objects by a field condition using operators like eq, neq, gt, contains, or regex to return only matching records from loaded JSON documents.
Instructions
Filter an array of objects by a field condition.
Operators: eq, neq, gt, gte, lt, lte, contains, regex.
Args: alias: The alias of the loaded document. path: Dot-notation path to the array (e.g. "products", "data.users"). field: The field name to filter on (e.g. "status", "price"). operator: Comparison operator (eq, neq, gt, gte, lt, lte, contains, regex). value: The value to compare against.
Returns: The filtered objects with a match count header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| alias | Yes | ||
| field | Yes | ||
| value | Yes | ||
| operator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |