diff --git a/documentation/src/main/asciidoc/querylanguage/Expressions.adoc b/documentation/src/main/asciidoc/querylanguage/Expressions.adoc index 3fcb74d468..2ea0e45e59 100644 --- a/documentation/src/main/asciidoc/querylanguage/Expressions.adoc +++ b/documentation/src/main/asciidoc/querylanguage/Expressions.adoc @@ -495,6 +495,15 @@ from Event where (year, day) > (year(local date), day(local date)) This syntax may be used even when the underlying SQL dialect does _not_ support so-called "row value" constructors. +A tuple value may be compared to an embedded field: + +[[tuple-embeddable]] +[source,hql] +---- +from Person +where address = ('1600 Pennsylvania Avenue, NW', 'Washington', 'DC', 20500, 'USA') +---- + [[exp-functions]] === Functions