{"type":"rich","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/158188887/1629906931181253","author_url":"https://blog.hatena.ne.jp/NeoJRotary/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.beatrust.com%2Fentry%2Fcustom-prisma-client-for-rls\" title=\"Custom Prisma Client for RLS - Beatrust techBlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","author_name":"NeoJRotary","published":"2022-06-07 11:00:00","provider_name":"Hatena Blog","title":"Custom Prisma Client for RLS","blog_url":"https://tech.beatrust.com/","provider_url":"https://hatena.blog","blog_title":"Beatrust techBlog","description":"Author: Neo Chiu Background We use Prisma + Postgres from prototype and start to migrate all data with RLS ( Row Level Security ) last year. We are managing multi-tenants data in one database, and we don't want data be accessed cross tenants. RLS restricts data with security policies at database eng\u2026","url":"https://tech.beatrust.com/entry/custom-prisma-client-for-rls","categories":["TypeScript","Node.js"],"version":"1.0"}