Unable to locate func entry: coalesce
Options
![Junior Vidotti](https://us.v-cdn.net/6037124/user_avatars/2440268.jpg)
Junior Vidotti
Member ✭
I have a filter for active records, which can be null. In that case, it must return all records (active = true or false). If filter_active is set, then it shows me the results accordingly to filter_active.
To achieve that result, I use coalesce function like that:
[image.png](if filter_active is null, then record.active itself will be use to compare to record.active).
But I am getting this error when execute API call:
{"message":"Unable to locate func entry: coalesce"}
To achieve that result, I use coalesce function like that:
[image.png](if filter_active is null, then record.active itself will be use to compare to record.active).
But I am getting this error when execute API call:
{"message":"Unable to locate func entry: coalesce"}
Comments
-
Just managed to solve the problem, although I think the behavior above may be a bug.
The solution is even more elegant... 😁
[image.png] -
seems like a bug - we will check it out.
ignore empty values is very powerful!
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