mention that tuples can be compared to embeddables in doc

This commit is contained in:
Gavin King 2024-03-22 14:41:54 +01:00
parent f7b895ba11
commit 003c0d0960
1 changed files with 9 additions and 0 deletions

View File

@ -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. 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]] [[exp-functions]]
=== Functions === Functions