Enum mismatch issue
Options
lxia
Member ✭
I'm adding a bunch of records into a DB table using a loop. One of the fields is an enum type and occasionally the value being passed in does not match the enum.
e.g. enum = Apple, Pear. however the value = Watermelon.
Adding a null value into the enum field when this happens is an acceptable outcome.
Any suggestions?
Best Answer
Answers
-
Looks like the right solution. Will give it a go. Thanks for the prompt support Michael!
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