Here my database structure :
{
"feeling" : {
"fake0" : {
"fake1" : {...},
"fake2" : {...}
}
},
"profile" : {
"fake0" : {...},
"fake1" : {...},
"fake2" : {...},
"fake3" : {...}
}
}
If the logged user is "fake0", how can he fetch all profiles that are not in his feeling ?
I would like to do something like :
ref("/profile", {notEqualTo: ["fake1","fake2"]}).on('once', .....)
Perhaps my structure is bad, just tell me a better one and I will change it :) !