Are foreign key polyfills for PlanetScale supported by Drizzle?

Hi Prisma supports this (although slow). See: https://www.prisma.io/docs/guides/database/planetscale#how-to-emulate-relations-in-prisma-client I want to use Planetscale but foreign key constraints are very important to me. I'm asking this because I couldn't find any docs mentioning whether this is supported or not in the new Drizzle docs (and currently too lazy/busy to setup new project and DB to test this sweating ). I really like the performance of Drizzle, and I wanna switch if this is supported (or there are workarounds to it).
Prisma
Using Prisma with PlanetScale
Guide to using Prisma with PlanetScale
2 Replies
bloberenober
bloberenober14mo ago
yes, foreign key "emulation" is not supported