© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
10 replies
BridgeSense

Upsert stuck

anyone knows why this upsert statement never finishes? the data is actually inserted in the db, but "2" is never printed:
        console.log("1")
        await supabase.from("accounts").upsert({
          discord_id: discordId,
          timestamp: new Date().,
          user_uid: userUid,
        });
        console.log("2")
        console.log("1")
        await supabase.from("accounts").upsert({
          discord_id: discordId,
          timestamp: new Date().,
          user_uid: userUid,
        });
        console.log("2")
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Upsert onConflict
SupabaseSSupabase / help-and-questions
4y ago
Use upsert(dataset) or insert(dataset, {upsert true})
SupabaseSSupabase / help-and-questions
4y ago
onConflict Python upsert
SupabaseSSupabase / help-and-questions
4y ago
upload() upsert option
SupabaseSSupabase / help-and-questions
4y ago