© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
2 replies
Yifan

RPC vs Dircet Query using supbase client

Hey! 👋

We’re thinking of standardizing how we interact with Supabase across our codebase, and had a couple quick questions:

What are the main differences between using direct queries (.from(...).select(...)) vs RPCs?

Are there any best practices or tradeoffs we should consider when choosing between the two?

Right now we don’t have RLS enabled, but we’re planning to add it in the future — does that change how we should structure things now?

Appreciate any thoughts or advice!
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

.rpc() with python supabase-client
SupabaseSSupabase / help-and-questions
4y ago
being charged without using supbase month on month
SupabaseSSupabase / help-and-questions
3mo ago
enforcing security through RLS vs RPC
SupabaseSSupabase / help-and-questions
2mo ago
Supbase Client - Where to catch expired password reset email exceptions?
SupabaseSSupabase / help-and-questions
14mo ago