© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•16mo ago•
4 replies
him

RLS - Typesafety

I noticed in the docs the created RLS client doesn't have your schema passed to it, meaning you wouldn't be able to use
dbClient.query
dbClient.query
- docs here: https://orm.drizzle.team/docs/rls
Is there a reason for this? In my testing, if you pass the same Database type your usual client returns, you get full functionality. This might just be a docs miss, but want to be sure in case this was done this way for a reason!
Drizzle ORM - Row-Level Security (RLS)
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Evolving form data and typesafety .
Drizzle TeamDTDrizzle Team / help
16mo ago
RLS and Policies
Drizzle TeamDTDrizzle Team / help
3y ago
Using `query` with RLS.
Drizzle TeamDTDrizzle Team / help
12mo ago
can RLS be used without supabase/neon?
Drizzle TeamDTDrizzle Team / help
3mo ago