SupabaseS
Supabase4y ago
tpz

Using now() in from().update()

Hi!

In knex, I could easily do knex('updates').update('updatedAt',knex.fn.now()).where('id',1);.

How can I use now() function in .update()? Is it possible?
supabase.from('updates').update({ updatedAt: now() }).eq('id',1);

Thanks
Was this page helpful?