Hi guys! How do I join multiple conditions using the sdk.. ie. something like update a row if column a is x AND column b is y?
g
garyaustin
02/03/2022, 8:06 PM
You can use any filter on update... so .match({name: 'Beijing', country_id: 156}) should work for what you are describing
a
akshg05
02/04/2022, 6:04 AM
Thanks. I think that should work.I missed that in doc haha.
Also can you let me know if we can chain conditions?
Like let's say
Supabase.from()...
.eq()
.eq()
..
That is is chaining two same filters or more?