Hello,
How can I update more rows equal to array with JS?
Is there any way other than a loop?
like ex.
const array = ['123','126'] <- Is a UUID
....Update({active:false}).eq('uuid',array)
g
garyaustin
01/13/2022, 9:20 PM
First, they ask that questions like this go in help or specific rooms, for next time...
garyaustin
01/13/2022, 9:20 PM
You probably want
.in('name', ['Rio de Janeiro', 'San Francisco'])