mention that tuples can be compared to embeddables in doc
This commit is contained in:
parent
f7b895ba11
commit
003c0d0960
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue