"Has Record" with multiple criteria?
Options
Gi Ma
Member ✭
Would it make sense to fetch the DB with a "Has Record" based on multiple criteria, as in " where column1='a' AND column2 ='b' "? Right now, that's not possible, the "Has Record" only works with one criteria afaik.
I would mostly like to use it to validate entries for API Endpoints.
The way I see it, the only way to do that now is by going through "Query all Records".
Not sure if there's a more recommended way to run such validations?
I would mostly like to use it to validate entries for API Endpoints.
The way I see it, the only way to do that now is by going through "Query all Records".
Not sure if there's a more recommended way to run such validations?
Comments
-
yes you will want to use the Query All Records function for this. But you can accomplish it with just the function - change the return type to "Exists" (Query All Records > Output > Return)... then you can find existence based on multiple parameters
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