Hi,
i have two documents
referencing
i'ld extract FicheProjet where nomCollaborateur match a value
here is my where condition
this where doesn't return values
Please how to fix this issue?,
Thanks
i have two documents
Code:
@Document(collection="ficheprojet")
public class FicheProjet {
//Id Projet Evalue
@Id
String idProjet;
//Projet Evalue
String projetEvalue;
//Service Gerant le Projet
String serviceProjet;
@DBRef
private Collaborateur collaborateur;
//getters() and setter()
}
Code:
@Document(collection="user")
public class Collaborateur {
@Id
private String id;
private String nomCollaborateur;
private String prenomCollaborateur;
//getters() and setter()
}
i'ld extract FicheProjet where nomCollaborateur match a value
here is my where condition
Code:
where("collaborateur.$user.nomCollateur").regex("xxx","i")
Please how to fix this issue?,
Thanks