We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use firebase-php of ktamas77. I try to get data with orderBy => 'data_id' (child) and equal to 'Test' but it report
"error" : "orderBy must be a valid JSON encoded path"
$test = $initFirebase->get('/notification',array('orderBy' => 'data_id', 'equalTo' => 220));
The text was updated successfully, but these errors were encountered:
Hey. You must paste the data_id in the double quotes. My examlpe: $fireBase->get(PUSH_PATH, array('orderBy' => '"status"', 'equalTo' => PENDING)
$fireBase->get(PUSH_PATH, array('orderBy' => '"status"', 'equalTo' => PENDING)
And don't forget put the ".indexOn" : "status" on the firebase rules
".indexOn" : "status"
Sorry, something went wrong.
No branches or pull requests
I use firebase-php of ktamas77. I try to get data with orderBy => 'data_id' (child) and equal to 'Test' but it report
$test = $initFirebase->get('/notification',array('orderBy' => 'data_id', 'equalTo' => 220));
The text was updated successfully, but these errors were encountered: