You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use an Array as a in input to a sql call. The array is coming from an Input.checkbox. Anyone have a suggestion on the best way to do this?
// doesn't workconstjs_table=awaitsql`select * from table where col1 in ( ${array} )`// doesn't work either// [1,2,3].join() => '1,2,3'constjs_table=awaitsql`select * from table where col1 in ( ${array.join()} )`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'd like to use an
Arrayas a in input to a sql call. The array is coming from anInput.checkbox. Anyone have a suggestion on the best way to do this?All reactions