I just didn't understand what the documentation wa...
# javascript
j
I just didn't understand what the documentation was saying, I've got it working with upsert instead now.
m
I also have problem to use update(). I keep receiving
Copy code
{
  message: '"failed to parse order (eq.1)" (line 1, column 4)',
  details: 'unexpected "1" expecting "asc", "desc", "nullsfirst" or "nullslast"'
}
I have tried the examples in the docs (https://supabase.io/docs/reference/javascript/update).
Problem solved. The examples provided under "API" (in the menu to the left for each project) was easier to understand.