I can check in the firebase if value exist by using this function:
ref.child("users").orderByChild("id")
.equalTo("string").once("value",snapshot => {
if (snapshot.exists()){
//exist
}
})
But my question is, can I do like includes
function do? For exemple, I want to check if a part of my string
exist on firebase. I would like to check if there is id
that includes str
for exemple. Is there anyway to do this?