Closed urosjarc closed 1 year ago
How to make typed query if you want to search by inner property of embbeded type?
db.getCollection<Narocnina>().find(Narocnina::uporabnik eq id_uporabnik, Narocnina::produkt::tip eq tip_produkta) --------------------------------------- This stuff fails :(
Is https://litote.org/kmongo/typed-queries/#nested-properties-and-operator what you are searching for?
Thank you that solves my issue.
How to make typed query if you want to search by inner property of embbeded type?