-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
Hi all
i'm using firebase-php to make a query against a firebase db where i stored chat data.
the structure is a thing like this
chat
----chat_ID
------------node_ID
when i search into a chat (with one or many children) with a code like this
$firebase = new \Firebase\FirebaseLib(DEFAULT_URL, DEFAULT_TOKEN);
$value = $firebase->get('/chat/'.$chat, array('orderBy' => '"status"', 'equalTo' => '"unread"'));
the query needs almost 700ms to get a result (even if there is only one node)
I think it's too much... or not?
Metadata
Metadata
Assignees
Labels
No labels