Replace database query parameters with array
Options
Olaide
Member ✭
I am trying to make an sql query as shown in the screenshot but I am having issues replacing the parameters as some of them are arrays, how can I prevent the error on the right and have the array render properly in the query without the square brackets
Tagged:
Answers
-
did you try to extract that values from arrays by applying something like "first" filter to them or something? if theres always a single value in array, i think its safe to just reference first item from array and extract it as a final value. at least i would try that 1st
-
thanks for your response @Max. The array will contain more than one value
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