Skip to content Skip to sidebar Skip to footer

How To Do The Following Query In Firebase? (more Than One Where Condition)

Consider following firebase structure : { 'users' : { '00:03:aa:dc:1c:2b' : { 'firstName' : ' Ofek', 'groupName' : 'thailand', 'lastName' : 'Ron', 're

Solution 1:

Firebase currently only supports a single orderBy per query.

So if you want to filter (or order) on more than one property, you'll either have to do the additional filtering (or ordering) client-side in your JavaScript code or you'll have to come up with your own indexing scheme that combines the properties.

Post a Comment for "How To Do The Following Query In Firebase? (more Than One Where Condition)"