Skip to content
New issue

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

Document composing filter conditions #729

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

raddevon
Copy link
Contributor

No description provided.

Copy link
Collaborator

@scotttrinh scotttrinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

Copy link
Member

@elprans elprans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are at it, it might be worth talking about optionals and using e.any instead of a tree of e.op(.. 'or' ), because that question popped up recently.

@raddevon
Copy link
Contributor Author

@scotttrinh Could you make one more pass on my additions per @elprans' suggestion? Added two more code blocks below what I had already added and brief explanations of each.

Copy link
Collaborator

@scotttrinh scotttrinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well also mention e.all == and while we are at it.

@raddevon
Copy link
Contributor Author

Good call, @scotttrinh. Done!

Copy link
Collaborator

@scotttrinh scotttrinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fabulous, thanks!!

@scotttrinh scotttrinh merged commit ced5953 into master Sep 18, 2023
7 of 8 checks passed
@scotttrinh scotttrinh deleted the doc-filter-composition branch September 18, 2023 17:21
title: true,
filter: e.all(
e.set(
e.op(movie.title, "ilike", "captain%")
Copy link

@themajashurka themajashurka Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these lines have missing commas :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I believe they do. Thank you for catching it and for letting us know!

Copy link
Contributor Author

@raddevon raddevon Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants