https://supabase.com/ logo
I'm adding something to the filter section of JS a...
# flutter
g
I'm adding something to the filter section of JS and Dart Supabase docs, but I don't use Dart... Can someone confirm this will insert a list into the string with commas and no [] like JS: JS
Copy code
.not('id','in', `(${arr})`)
Dart
Copy code
.not('id', 'in', '(${mylist.join(',')})')
Edit: and does that work for both ["a","b"] and [1,2]? Edit2: I found dartpad.dev and was able to verify that formats the string correctly for both a string and a number list.