© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
67 replies
shree

increment function, need user uuid in edge function.

this is what i tried but it prints undefined

const {
data: { user },
} = await supabase.auth.getUser()
const userID = user?.id;
console.log(userID);

await supabase.rpc('increment', { row_id: userID })
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
Next page

Similar Threads

auth.increment_user_session_version(uuid)
SupabaseSSupabase / help-and-questions
3mo ago
Edge Function Delete User
SupabaseSSupabase / help-and-questions
4y ago
EarlyDrop in edge function
SupabaseSSupabase / help-and-questions
7mo ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago