1 repo
Tools and patterns for associating a single entity with multiple different types of tables using type identifiers.
Distinguishing note: Focuses on flexible, multi-table entity associations rather than standard one-to-one or one-to-many relationships.
Explore 1 awesome GitHub repository matching data & databases · Polymorphic Data Modeling. Refine with filters or upvote what's useful.
Drizzle ORM is a TypeScript-native database toolkit providing type-safe SQL query building, schema management, and automated migrations across PostgreSQL, MySQL, SQLite, and SingleStore.
Drizzle associates a single entity with multiple different types of tables by using a type identifier and a foreign key to maintain flexible data connections.