Docs: Add examples with TemplateExpression #2060

sergiomichels opened this Issue Dec 9, 2016 · 0 comments


None yet

1 participant


I spent a quite significant amount of time to find and example of Boolean expressions with parameters. Most examples in StackOverflow demonstrate how to use it without args, and seems silly but I didn't know that the expression uses the MessageFormat pattern style.

Example from this SO post
query.where(Expressions.booleanTemplate("func1({0}, {1})", arg1, arg2));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment