filter

Filter

Keeps only the array items where a field matches a condition. Syntax: filter:field,operator,value. Operators: eq, ne, gt, gte, lt, lte, contains, startsWith, endsWith, matches.

Syntaxfilter:field,operator,value
fieldObject field to test (supports dot-notation)
operatorComparison operator: eq, ne, gt, gte, lt, lte, contains, startsWith, endsWith, matches
valueValue to compare against (parsed as JSON when possible)

Use cases

All commands