You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the document exists but is e.g. an empty array the error SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint is thrown. It has to be checked if the doc is null in upsertDoc.