We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, predicates work like
where: { allof: [{ field: Message, contains: some text }, { field: Message, matches: '%{SOME_PATTERN}' }] }
This could be made a lot more concise by removing the "field" key and mapping fields to conditions instead:
where: { Message: {contains: some text, matches: '%{SOME_PATTERN}'}, not: {Message: {matches: '%{ANOTHER_PATTERN}'}} }
This of course is at the expense of prohibiting the custom fields not, allof, anyof. Guess we can live with that.
not
allof
anyof
The text was updated successfully, but these errors were encountered:
#4 make predicate syntax more concise
0f21046
#4 Fixed Contains predicate for Tags field
42e87df
fxnn
No branches or pull requests
Currently, predicates work like
This could be made a lot more concise by removing the "field" key and mapping fields to conditions instead:
This of course is at the expense of prohibiting the custom fields
not
,allof
,anyof
. Guess we can live with that.The text was updated successfully, but these errors were encountered: