minester16
minester16
Explore posts from servers
DTDrizzle Team
Created by minester16 on 2/15/2024 in #help
overriding DrizzleClient so it will add a string to all queries
I'm creating multi tenant application uses 1 database. So I need to create row based secuiry. I have DI system, I need to add "slug": "tenentSlug" to all insert, select, etc. queries. Is there a example for overriding default client? Which I can check and learn? I'm using postgresjs.
4 replies