select an item in DB based on several fields
Options
![Thierry MARTIN](https://us.v-cdn.net/6037124/user_avatars/2208966.jpg)
Thierry MARTIN
Member ✭
Hi guys,
Is there a way to select a record in the database, based on the value of more than 1 field?
My table contains 3 fields (in addition to standard id and created_at)
• user_id
• release_id
• folder
and I have to update the folder field of a record matching both user_id and release_id.
How could I do that?
Is there a way to select a record in the database, based on the value of more than 1 field?
My table contains 3 fields (in addition to standard id and created_at)
• user_id
• release_id
• folder
and I have to update the folder field of a record matching both user_id and release_id.
How could I do that?
Comments
-
I've found a way.
I first do a "query all records" with the appropriate constraints, and then edit the found record.
In case there is a better way, please let me know 😉 -
Hi - that is the way I would do it!
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