Need a way to query elements of an collections
Bug #658206 reported by
Lassi Immonen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Timo Westkämper |
Bug Description
In the Mongodb there is no joins and we need a way to create path expression where attributes of an element in a collection can be referred and queried.
For example:
Address
street
User
List<Address> addresses
QUser user
user.addresses.
tags: | added: mongodb |
Changed in querydsl: | |
importance: | Undecided → Medium |
assignee: | nobody → Timo Westkämper (timo-westkamper) |
status: | New → In Progress |
To post a comment you must log in.
Access is now possible through the any() method.
e.g.
user.addresses. any().street. startsWith( "abc")