Filter array
Options
![Lars Hofstetter](https://us.v-cdn.net/6037124/user_avatars/2680991.jpg)
Lars Hofstetter
Member ✭
Hello,
I'm making a query of an array of locations. I then want to get back all the records that have one of these locations. Right now I have a setup using contains but this does not work. It always checks if the whole array is contained in the record.
Each record always has only one location and not multiples.
How can I set this up? I was wondering maybe I should need the in operator instead of the contains operator, but I had an error on that.
There are screenshots below for better understanding.
Thank you for the help,
Lars
[Bildschirmfoto 2022-01-23 um 09.08.25.png][Bildschirmfoto 2022-01-23 um 09.08.35.png][Bildschirmfoto 2022-01-23 um 09.11.15.png]
I'm making a query of an array of locations. I then want to get back all the records that have one of these locations. Right now I have a setup using contains but this does not work. It always checks if the whole array is contained in the record.
Each record always has only one location and not multiples.
How can I set this up? I was wondering maybe I should need the in operator instead of the contains operator, but I had an error on that.
There are screenshots below for better understanding.
Thank you for the help,
Lars
[Bildschirmfoto 2022-01-23 um 09.08.25.png][Bildschirmfoto 2022-01-23 um 09.08.35.png][Bildschirmfoto 2022-01-23 um 09.11.15.png]
Comments
-
Can someone help me here?
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback