You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After tumbling on this problem, i saw what you had missed was using distinct. Internally, the solution in #29 used Join, which resulted in duplicated rows in SQL.
Suppose we have a
Book
class, that has anAuthors
field. TheAuthor
class has a name field.I want to be able to search for all books that has the authors "Rowling" AND "Tolkien" on the same persisted
Book
object. How can I achieve that?I have tried things, with no success, like:
"authors.name==Rowling;authors.name==Tolkien"
- Finds nothing."authors.name=in=(Rowling,Tolkien)"
- Finds two Book objects even though there is only one persisted with both authors.The text was updated successfully, but these errors were encountered: