Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.2.M1
Description
Add method to create aliases for properties.
Cab be used in qualifiers to have several joins to one table, in orderings, in column queries and having qualifiers.
Supported by relationship properties.
Example:
ObjectSelect.query(Artist.class)
.where(Artist.PAINTING_ARRAY.alias("p1").dot(Painting.PAINTING_TITLE).eq("painting2"))
.and(Artist.PAINTING_ARRAY.alias("p2").dot(Painting.PAINTING_TITLE).eq("painting4"))
.select(context);
Attachments
Issue Links
- incorporates
-
CAY-2508 Create api to add aliases in expressions
- Closed
- links to