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
The data is stored without problems. My issue is when i try to use equalTo() with the finished property, that is a boolean, it always return null.
Fetch Code
firebase.database.ref('request').orderByChild('finished').equalTo(false).on('value', (requestSnap)=>{
console.log(requestSnap.value); //the value is always NULL
});
The most strange to is if i change the stored data of finished property to a string "false", the same fetch code work and i get the data. This is the expected behavior, its a bug or iam done something wrong?
The text was updated successfully, but these errors were encountered:
I think i may found i bug,
First i insert this data to my database
The data is stored without problems. My issue is when i try to use
equalTo()
with thefinished
property, that is a boolean, it always returnnull
.Fetch Code
The most strange to is if i change the stored data of
finished
property to a string"false"
, the same fetch code work and i get the data. This is the expected behavior, its a bug or iam done something wrong?The text was updated successfully, but these errors were encountered: