简体   繁体   中英

Multiple query on firebase

i am trying to filter loaded database according to different filters inserted by users, these filters may be activated or not in order to do these filtration using firebase i came across some limits that's been discussed here Android firebase apply multiple queries

i have around 5 filters that exists on my application so in order to use the same technique in the answer i would need to do something like that

在此处输入图片说明

and by assuming the name can be ideally searched too.

for the answers posted here Query based on multiple where clauses in firebase

i can't also use the create a custom index programmatically solution as my filter do have some dynamic values such as names and some filters may/may not exist

is there any other solution for that?

what is the available approaches using database server to host the database and php script to communicate with it?

  • i have no experience in web development

thanks

I think you cannot do this using Firebase and PHP. Maybe you can take a look in the follow link: https://firebase-php.readthedocs.io/en/latest/setup.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM