HHH-8070 - Updated documentation to reflect the 'in' operator usage.
This commit is contained in:
parent
383972d6c2
commit
dc44ef9378
|
@ -468,6 +468,8 @@ And to select only entities that are related to a given entity:
|
|||
query.add( AuditEntity.property( "address" ).eq( relatedEntityInstance ) );
|
||||
// or
|
||||
query.add( AuditEntity.relatedId( "address" ).eq( relatedEntityId ) );
|
||||
// or
|
||||
query.add( AuditEntity.relatedId( "address" ).in( relatedEntityId1, relatedEntityId2 ) );
|
||||
----
|
||||
|
||||
You can limit the number of results, order them, and set aggregations and projections (except grouping) in the usual way.
|
||||
|
|
Loading…
Reference in New Issue