Noob question: Filter in Xano
![Edgard](https://us.v-cdn.net/6037124/uploads/userpics/MRXEDN149FCS/n3HCFPXHW02ES.png)
Hi guys,
I have a table events that has a column called id_neighbourhood. And I have the table neighbourhood with the name of it.
I'm calling an API with an array with the neighbourhoods to use in the filter. That means I can get all the events in one or more neighbourhoods.
But when I do this search:
get this error:
Plase help :-) Thank you!
Answers
-
Your area input is an object array, which means that it's expecting a format like this:
{"name": "Chris",
"email": "chris@email.com"}
That means that we can't just search for a text string like it appears you're trying to do here. I would expect that it would be enough to change this input to an array of text strings instead.
-
That's what I'm doing. But one of the fields it's an array.
{area: ["Southl","East"],
city: Miami,
end_date: 2023-02-19,
begin_date: 2023-02-18
}
-
I mean
{
"area": ["South","East"],
"city": "Miami",
"end_date": "2023-02-19",
"begin_date": "2023-02-18"
}
-
Solved. On Input I chose type of object when I has to choose Text with list structure.
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