{"slug":"ts-orm","question":"Which data access layer should a new TypeScript backend on Postgres use?","group":"stack","scope":"Covers query APIs, schema changes and transaction handling for new TypeScript services on Postgres. Database hosting and project-specific throughput are separate decisions.","phrasings":["Choose an ORM for a TypeScript backend","Pick a typed Postgres query builder","Generate SQL migrations from code","Query related Postgres tables from TypeScript","Manage entities with a unit of work","Access Postgres from Node.js with raw SQL","Set up a data layer for a new Postgres app","Choose a TypeScript ORM for PostgreSQL"],"deskNote":null,"lang":"en","tools":[{"slug":"drizzle","name":"Drizzle ORM","form":"library","homepage":"https://orm.drizzle.team/docs/get-started-postgresql","repoUrl":"https://github.com/drizzle-team/drizzle-orm","registry":{"type":"npm","name":"drizzle-orm","url":"https://registry.npmjs.org/drizzle-orm"},"latestVersion":"0.45.4","latestReleasedAt":"2026-10-08T10:50:41.953+00:00","lastCheckedAt":"2026-12-02T19:00:03.688+00:00"},{"slug":"prisma","name":"Prisma ORM","form":"library","homepage":"https://www.prisma.io/docs/orm/v7","repoUrl":"https://github.com/prisma/orm","registry":{"type":"npm","name":"@prisma/client","url":"https://registry.npmjs.org/@prisma%2Fclient"},"latestVersion":"7.10.1","latestReleasedAt":"2026-10-15T00:00:00+00:00","lastCheckedAt":"2026-12-02T19:00:03.396+00:00"},{"slug":"kysely","name":"Kysely","form":"library","homepage":"https://kysely.dev/","repoUrl":"https://github.com/kysely-org/kysely","registry":{"type":"npm","name":"kysely","url":"https://registry.npmjs.org/kysely"},"latestVersion":"0.29.9","latestReleasedAt":"2026-11-12T16:48:02.551+00:00","lastCheckedAt":"2026-12-02T19:00:03.667+00:00"},{"slug":"typeorm","name":"TypeORM","form":"library","homepage":"https://typeorm.io/docs/getting-started/","repoUrl":"https://github.com/typeorm/typeorm","registry":{"type":"npm","name":"typeorm","url":"https://registry.npmjs.org/typeorm"},"latestVersion":"1.1.3","latestReleasedAt":"2026-11-12T00:00:00+00:00","lastCheckedAt":"2026-12-02T19:00:03.418+00:00"},{"slug":"mikroorm","name":"MikroORM","form":"library","homepage":"https://mikro-orm.io/docs/guide","repoUrl":"https://github.com/mikro-orm/mikro-orm","registry":{"type":"npm","name":"@mikro-orm/postgresql","url":"https://registry.npmjs.org/@mikro-orm%2Fpostgresql"},"latestVersion":"7.2.13","latestReleasedAt":"2026-11-27T18:43:59.012+00:00","lastCheckedAt":"2026-12-02T19:00:03.36+00:00"},{"slug":"node-postgres","name":"node-postgres (pg)","form":"builtin","homepage":"https://node-postgres.com/","repoUrl":"https://github.com/brianc/node-postgres","registry":{"type":"npm","name":"pg","url":"https://registry.npmjs.org/pg"},"latestVersion":"8.23.1","latestReleasedAt":"2026-09-30T15:39:58.489+00:00","lastCheckedAt":"2026-12-02T19:00:03.71+00:00"}],"board":[{"toolSlug":"drizzle","tier":"A","condition":"Choose it when the new backend should define its schema in TypeScript and generate SQL migrations while making SQL-shaped queries.","versionState":"current","establishedVersion":"0.45.4","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"prisma","tier":"A","condition":"Choose it when the app wants a generated client for relation-heavy reads and nested writes.","versionState":"current","establishedVersion":"7.10.1","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"kysely","tier":"A","condition":"Choose it when the Postgres schema is maintained separately and the backend needs a typed SQL query builder over it.","versionState":"current","establishedVersion":"0.29.9","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"typeorm","tier":"B","condition":"Choose it when the design calls for Active Record methods on mapped entity classes.","versionState":"current","establishedVersion":"1.1.3","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"mikroorm","tier":"B","condition":"Choose it when the domain model needs identity tracking and a unit of work that flushes changes together.","versionState":"pending","establishedVersion":"7.2.9","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false},{"toolSlug":"node-postgres","tier":"B","condition":"Choose it when reviewed SQL is the source of truth and the application owns transaction coordination.","versionState":"current","establishedVersion":"8.23.1","countedReviews":1,"vetoed":false,"vetoReason":null,"needsAudit":false}],"answer":{"decision":"depends_on_task","reason":null,"pick":[{"slug":"drizzle","name":"Drizzle ORM","form":"library","version":"0.45.4","tier":"A","chooseIf":"Choose it when the new backend should define its schema in TypeScript and generate SQL migrations while making SQL-shaped queries.","versionState":"current","url":"https://orm.drizzle.team/docs/get-started-postgresql"},{"slug":"prisma","name":"Prisma ORM","form":"library","version":"7.10.1","tier":"A","chooseIf":"Choose it when the app wants a generated client for relation-heavy reads and nested writes.","versionState":"current","url":"https://www.prisma.io/docs/orm/v7"},{"slug":"kysely","name":"Kysely","form":"library","version":"0.29.9","tier":"A","chooseIf":"Choose it when the Postgres schema is maintained separately and the backend needs a typed SQL query builder over it.","versionState":"current","url":"https://kysely.dev/"}],"alternatives":[{"slug":"typeorm","name":"TypeORM","form":"library","version":"1.1.3","tier":"B","chooseIf":"Choose it when the design calls for Active Record methods on mapped entity classes.","versionState":"current","url":"https://typeorm.io/docs/getting-started/"},{"slug":"mikroorm","name":"MikroORM","form":"library","version":"7.2.13","tier":"B","chooseIf":"Choose it when the domain model needs identity tracking and a unit of work that flushes changes together.","versionState":"pending","url":"https://mikro-orm.io/docs/guide"},{"slug":"node-postgres","name":"node-postgres (pg)","form":"builtin","version":"8.23.1","tier":"B","chooseIf":"Choose it when reviewed SQL is the source of truth and the application owns transaction coordination.","versionState":"current","url":"https://node-postgres.com/"}],"unrated":[],"basis":{"signedReviews":{"counted":1,"handsOn":0,"sources":1,"desk":1},"measurements":{"count":0,"independent":0},"facts":{"verified":46,"awaitingCheck":0,"changed":0,"vetoes":0,"checkedThrough":"2026-11-27T19:00:03.454+00:00"},"leads":{"count":0,"worked":0,"failed":0,"counted":false}},"flags":[{"kind":"reverification_pending","toolSlug":"mikroorm","establishedVersion":"7.2.9","latestVersion":"7.2.13"},{"kind":"caution","toolSlug":"drizzle","text":"When using Postgres.js with Drizzle, check whether its default prepared statements need to be disabled.","sourceUrl":"https://orm.drizzle.team/docs/get-started-postgresql"},{"kind":"caution","toolSlug":"prisma","text":"Prisma ORM 7 requires a driver adapter when constructing the client.","sourceUrl":"https://www.prisma.io/docs/guides/upgrade-prisma-orm/v7"},{"kind":"caution","toolSlug":"kysely","text":"Type-safe queries need database schema types kept aligned with the actual database.","sourceUrl":"https://kysely.dev/docs/generating-types"}],"policy":"pick-1"},"reviews":[{"id":"78550529-cba2-49bb-b660-f440a8f112d4","reviewer":{"username":"propick-desk","displayName":"ProPick Desk","avatarUrl":null,"status":"verified","isDesk":true},"basis":"sources","publishedAt":"2026-11-14T00:00:00+00:00","counted":true,"placements":[{"toolSlug":"drizzle","tier":"A","reason":"The query builder follows SQL structure while preserving types. Drizzle Kit can turn schema changes into SQL migration files.","condition":"Choose it when the new backend should define its schema in TypeScript and generate SQL migrations while making SQL-shaped queries.","sourceUrls":["https://orm.drizzle.team/docs/select","https://orm.drizzle.team/docs/migrations","https://orm.drizzle.team/docs/get-started-postgresql"],"toolVersion":"0.45.4","versionState":"current"},{"toolSlug":"prisma","tier":"A","reason":"Prisma Client supports nested reads, transactional writes on relations. Prisma Migrate handles the SQL migration history.","condition":"Choose it when the app wants a generated client for relation-heavy reads and nested writes.","sourceUrls":["https://www.prisma.io/docs/orm/v7/prisma-client/queries/relation-queries","https://www.prisma.io/docs/orm/v7/prisma-migrate","https://www.prisma.io/docs/orm/v7"],"toolVersion":"7.10.1","versionState":"current"},{"toolSlug":"kysely","tier":"A","reason":"Kysely accepts database schema types that can be derived from the actual database. Its core PostgreSQL dialect lets the application express queries in a SQL query builder.","condition":"Choose it when the Postgres schema is maintained separately and the backend needs a typed SQL query builder over it.","sourceUrls":["https://kysely.dev/docs/generating-types","https://kysely-org.github.io/kysely-apidoc/classes/PostgresDialect.html","https://github.com/kysely-org/kysely"],"toolVersion":"0.29.9","versionState":"current"},{"toolSlug":"typeorm","tier":"B","reason":"TypeORM maps classes to tables and documents model-level persistence methods. It also supports repositories if a module uses the Data Mapper pattern. Entity classes with persistence methods are a design preference the team must already hold; the sources give no reason to make it the default for a new backend.","condition":"Choose it when the design calls for Active Record methods on mapped entity classes.","sourceUrls":["https://typeorm.io/docs/guides/active-record-data-mapper/","https://typeorm.io/docs/entity/entities/","https://typeorm.io/docs/getting-started/"],"toolVersion":"1.1.3","versionState":"current"},{"toolSlug":"mikroorm","tier":"B","reason":"The identity map retains references to managed entities. The Unit of Work flushes their computed changes inside a transaction on supported drivers. Identity tracking and a unit of work earn their weight only when the domain model calls for them.","condition":"Choose it when the domain model needs identity tracking and a unit of work that flushes changes together.","sourceUrls":["https://mikro-orm.io/docs/unit-of-work","https://mikro-orm.io/docs/usage-with-sql"],"toolVersion":"7.2.9","versionState":"pending"},{"toolSlug":"node-postgres","tier":"B","reason":"The driver sends parameterized SQL directly and provides pooling. The application has to manage transaction commands and keep them on one client.","condition":"Choose it when reviewed SQL is the source of truth and the application owns transaction coordination.","sourceUrls":["https://node-postgres.com/","https://node-postgres.com/features/queries","https://node-postgres.com/features/transactions"],"toolVersion":"8.23.1","versionState":"current"}]}],"facts":[{"id":"drizzle:registry:license","toolSlug":"drizzle","kind":"registry","statement":"License: Apache-2.0","sourceType":"registry","sourceUrl":"https://github.com/drizzle-team/drizzle-orm","quote":null,"establishedVersion":"0.45.4","verifiedVersion":"0.45.4","verifiedAt":"2026-12-02T19:00:03.688+00:00","status":"verified","veto":false},{"id":"drizzle:registry:maintenance","toolSlug":"drizzle","kind":"registry","statement":"Last repository push on 2026-11-25","sourceType":"registry","sourceUrl":"https://github.com/drizzle-team/drizzle-orm/releases","quote":null,"establishedVersion":"0.45.4","verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"drizzle:registry:release","toolSlug":"drizzle","kind":"registry","statement":"Latest release 0.45.4 on 2026-10-08","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/drizzle-orm/v/0.45.4","quote":null,"establishedVersion":"0.45.4","verifiedVersion":"0.45.4","verifiedAt":"2026-12-02T19:00:03.688+00:00","status":"verified","veto":false},{"id":"kysely:registry:license","toolSlug":"kysely","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://github.com/kysely-org/kysely","quote":null,"establishedVersion":"0.29.9","verifiedVersion":"0.29.9","verifiedAt":"2026-12-02T19:00:03.667+00:00","status":"verified","veto":false},{"id":"kysely:registry:maintenance","toolSlug":"kysely","kind":"registry","statement":"Last repository push on 2026-11-28","sourceType":"registry","sourceUrl":"https://github.com/kysely-org/kysely/releases","quote":null,"establishedVersion":"0.29.9","verifiedVersion":"0.29.9","verifiedAt":"2026-11-28T20:00:03.894+00:00","status":"verified","veto":false},{"id":"kysely:registry:release","toolSlug":"kysely","kind":"registry","statement":"Latest release 0.29.9 on 2026-11-12","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/kysely/v/0.29.9","quote":null,"establishedVersion":"0.29.9","verifiedVersion":"0.29.9","verifiedAt":"2026-12-02T19:00:03.667+00:00","status":"verified","veto":false},{"id":"mikroorm:registry:license","toolSlug":"mikroorm","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://github.com/mikro-orm/mikro-orm","quote":null,"establishedVersion":"7.2.13","verifiedVersion":"7.2.13","verifiedAt":"2026-12-02T19:00:03.36+00:00","status":"verified","veto":false},{"id":"mikroorm:registry:maintenance","toolSlug":"mikroorm","kind":"registry","statement":"Last repository push on 2026-11-27","sourceType":"registry","sourceUrl":"https://github.com/mikro-orm/mikro-orm/releases","quote":null,"establishedVersion":"7.2.13","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"mikroorm:registry:release","toolSlug":"mikroorm","kind":"registry","statement":"Latest release 7.2.13 on 2026-11-27","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/@mikro-orm/postgresql/v/7.2.13","quote":null,"establishedVersion":"7.2.13","verifiedVersion":"7.2.13","verifiedAt":"2026-12-02T19:00:03.36+00:00","status":"verified","veto":false},{"id":"node-postgres:registry:license","toolSlug":"node-postgres","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://github.com/brianc/node-postgres","quote":null,"establishedVersion":"8.23.1","verifiedVersion":"8.23.1","verifiedAt":"2026-12-02T19:00:03.71+00:00","status":"verified","veto":false},{"id":"node-postgres:registry:maintenance","toolSlug":"node-postgres","kind":"registry","statement":"Last repository push on 2026-10-23","sourceType":"registry","sourceUrl":"https://github.com/brianc/node-postgres/releases","quote":null,"establishedVersion":"8.23.1","verifiedVersion":"8.23.1","verifiedAt":"2026-11-28T21:00:03.753+00:00","status":"verified","veto":false},{"id":"node-postgres:registry:release","toolSlug":"node-postgres","kind":"registry","statement":"Latest release 8.23.1 on 2026-09-30","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/pg/v/8.23.1","quote":null,"establishedVersion":"8.23.1","verifiedVersion":"8.23.1","verifiedAt":"2026-12-02T19:00:03.71+00:00","status":"verified","veto":false},{"id":"prisma:registry:license","toolSlug":"prisma","kind":"registry","statement":"License: Apache-2.0","sourceType":"registry","sourceUrl":"https://github.com/prisma/orm","quote":null,"establishedVersion":"7.10.1","verifiedVersion":"7.10.1","verifiedAt":"2026-12-02T19:00:03.396+00:00","status":"verified","veto":false},{"id":"prisma:registry:maintenance","toolSlug":"prisma","kind":"registry","statement":"Last repository push on 2026-11-28","sourceType":"registry","sourceUrl":"https://github.com/prisma/orm/releases","quote":null,"establishedVersion":"7.10.1","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"prisma:registry:release","toolSlug":"prisma","kind":"registry","statement":"Latest release 7.10.1 on 2026-10-15","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/@prisma/client/v/7.10.1","quote":null,"establishedVersion":"7.10.1","verifiedVersion":"7.10.1","verifiedAt":"2026-12-02T19:00:03.396+00:00","status":"verified","veto":false},{"id":"ts-orm:drizzle:caution:602c87725a09ea59962d926db10b5fb0f7848968a19996e45075ed5a10477d62","toolSlug":"drizzle","kind":"caution","statement":"When using Postgres.js with Drizzle, check whether its default prepared statements need to be disabled.","sourceType":"official_docs","sourceUrl":"https://orm.drizzle.team/docs/get-started-postgresql","quote":"postgres.js uses prepared statements by default, which you may need to opt out of.","establishedVersion":null,"verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"ts-orm:drizzle:claim:551a0504fb640b687a660666c01a04fc9c984e64645cf6470e666bb177d85f5f","toolSlug":"drizzle","kind":"claim","statement":"Supports PostgreSQL through node-postgres or Postgres.js.","sourceType":"official_docs","sourceUrl":"https://orm.drizzle.team/docs/get-started-postgresql","quote":"Drizzle has native support for PostgreSQL connections with the node-postgres and postgres.js drivers.","establishedVersion":null,"verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"ts-orm:drizzle:claim:707f0bfe5205434dac30f218df7d17a0967af943298fffc8b84a797b9df68f4f","toolSlug":"drizzle","kind":"claim","statement":"Drizzle Kit can generate SQL migrations from TypeScript schema changes.","sourceType":"official_docs","sourceUrl":"https://orm.drizzle.team/docs/migrations","quote":"You have your TypeScript Drizzle schema as a source of truth and Drizzle lets you generate SQL migration files based on your schema changes with drizzle-kit generate and then apply them to the database with drizzle-kit migrate commands.","establishedVersion":null,"verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"ts-orm:drizzle:claim:d54f0c1eb4274a63fe784caa35cfca6e03141369aae5bea20155a8f8768cbb65","toolSlug":"drizzle","kind":"claim","statement":"Interpolated values in an sql template are sent as separate parameters.","sourceType":"official_docs","sourceUrl":"https://orm.drizzle.team/docs/sql","quote":"Additionally, any dynamic parameters such as ${id} will be mapped to the $1 placeholder, and the corresponding values will be moved to an array of values that are passed separately to the database.","establishedVersion":null,"verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"ts-orm:drizzle:claim:e02ba5b27324a636b67e9d4ce731fcc628cb71a88123de5e2b7c67ea7b8f8842","toolSlug":"drizzle","kind":"claim","statement":"The select API is typed, composable and follows SQL structure.","sourceType":"official_docs","sourceUrl":"https://orm.drizzle.team/docs/select","quote":"Drizzle provides you the most SQL-like way to fetch data from your database, while remaining type-safe and composable.","establishedVersion":null,"verifiedVersion":"0.45.4","verifiedAt":"2026-11-28T20:00:03.901+00:00","status":"verified","veto":false},{"id":"ts-orm:kysely:caution:30bcd8ff4cf22e746ffb813c3269597082c86625bacf72edb58d2c1bdf3b51ab","toolSlug":"kysely","kind":"caution","statement":"Type-safe queries need database schema types kept aligned with the actual database.","sourceType":"official_docs","sourceUrl":"https://kysely.dev/docs/generating-types","quote":"However, when building production applications, it's best to stay aligned with the database schema, by automatically generating the database schema type definitions.","establishedVersion":null,"verifiedVersion":"0.29.9","verifiedAt":"2026-11-28T20:00:03.894+00:00","status":"verified","veto":false},{"id":"ts-orm:kysely:claim:41f397ebc5bd5429340be885b5d47406597a263e7d397a00d6bad90b7892b631","toolSlug":"kysely","kind":"claim","statement":"Provides a type-safe SQL query builder for TypeScript.","sourceType":"readme","sourceUrl":"https://github.com/kysely-org/kysely","quote":"Kysely (pronounce “Key-Seh-Lee”) is a type-safe and autocompletion-friendly TypeScript SQL query builder.","establishedVersion":null,"verifiedVersion":"0.29.9","verifiedAt":"2026-11-28T20:00:03.894+00:00","status":"verified","veto":false},{"id":"ts-orm:kysely:claim:72454e6ce12d1b973a67b5c17502575a092a7bb655708d5f359f94750914459c","toolSlug":"kysely","kind":"claim","statement":"The PostgreSQL dialect uses node-postgres.","sourceType":"official_docs","sourceUrl":"https://kysely-org.github.io/kysely-apidoc/classes/PostgresDialect.html","quote":"PostgreSQL dialect that uses the pg library.","establishedVersion":null,"verifiedVersion":"0.29.9","verifiedAt":"2026-11-28T20:00:03.894+00:00","status":"verified","veto":false},{"id":"ts-orm:kysely:claim:f9f47d9fe86d5ec9fe4ee70ec036b98cba93aca75c9ea746ca7bbd6ecc0170e6","toolSlug":"kysely","kind":"claim","statement":"Migrations can be written as up and down functions.","sourceType":"official_docs","sourceUrl":"https://kysely.dev/docs/migrations","quote":"The up function is called when you update your database schema to the next version and down when you go back to previous version.","establishedVersion":null,"verifiedVersion":"0.29.9","verifiedAt":"2026-11-28T20:00:03.894+00:00","status":"verified","veto":false},{"id":"ts-orm:mikroorm:caution:1833acc7ff3330f1504cf25dbca7fb89243e72e2e11941e034d88c679fd08a2c","toolSlug":"mikroorm","kind":"caution","statement":"SQL migrations use a separately installed package.","sourceType":"official_docs","sourceUrl":"https://mikro-orm.io/docs/migrations","quote":"To use migrations, you need to first install @mikro-orm/migrations package for SQL driver or @mikro-orm/migrations-mongodb for MongoDB, and register the Migrator extension in your ORM config.","establishedVersion":"7.2.x","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"ts-orm:mikroorm:claim:39b8563d340b1c2174e3e9f09a07960c6d40fa86ecf0599cba2d328d00dcaac1","toolSlug":"mikroorm","kind":"claim","statement":"Its migration tooling can generate migrations from schema differences.","sourceType":"official_docs","sourceUrl":"https://mikro-orm.io/docs/migrations","quote":"MikroORM has integrated support for migrations. It allows you to generate migrations based on the current schema difference.","establishedVersion":"7.2.x","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"ts-orm:mikroorm:claim:63f4b3b44eecb83934207ba6614a877935b822120cae45e9a0454d85ff35a22d","toolSlug":"mikroorm","kind":"claim","statement":"Flushing issues computed changes inside a transaction on supported drivers.","sourceType":"official_docs","sourceUrl":"https://mikro-orm.io/docs/unit-of-work","quote":"When you call em.flush(), all computed changes are queried inside a database transaction (if supported by given driver).","establishedVersion":"7.2.x","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"ts-orm:mikroorm:claim:ba3e042b30fef33cda4afbfd31c542976ac8f767718532b3ecc507c3b79b167a","toolSlug":"mikroorm","kind":"claim","statement":"The identity map tracks loaded entities in the Unit of Work.","sourceType":"official_docs","sourceUrl":"https://mikro-orm.io/docs/unit-of-work","quote":"MikroORM uses the Identity Map pattern to track objects. Whenever you fetch an object from the database, MikroORM will keep a reference to this object inside its UnitOfWork.","establishedVersion":"7.2.x","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"ts-orm:mikroorm:claim:df7a9c302783178c1cef8ccdccbb96b76f7d20fd3888203099900594aefd67ec","toolSlug":"mikroorm","kind":"claim","statement":"Publishes a dedicated PostgreSQL driver package.","sourceType":"official_docs","sourceUrl":"https://mikro-orm.io/docs/usage-with-sql","quote":"# for postgresql (works with cockroachdb too)npm install @mikro-orm/postgresql","establishedVersion":"7.2.x","verifiedVersion":"7.2.13","verifiedAt":"2026-11-27T19:00:03.454+00:00","status":"verified","veto":false},{"id":"ts-orm:node-postgres:caution:61523d0770ecfc3222627a718337b85fa3eee434e0ec16a8052e8e2512a33728","toolSlug":"node-postgres","kind":"caution","statement":"Every statement in a transaction must use the same client instance.","sourceType":"official_docs","sourceUrl":"https://node-postgres.com/features/transactions","quote":"You must use the same client instance for all statements within a transaction. PostgreSQL isolates a transaction to individual clients.","establishedVersion":null,"verifiedVersion":"8.23.1","verifiedAt":"2026-11-28T21:00:03.753+00:00","status":"verified","veto":false},{"id":"ts-orm:node-postgres:claim:1f58236569ba8c1d40add1e3bdd877ee724866dec843294ff86b5f884ac74949","toolSlug":"node-postgres","kind":"claim","statement":"Passes SQL and parameter values separately to PostgreSQL.","sourceType":"official_docs","sourceUrl":"https://node-postgres.com/features/queries","quote":"node-postgres supports parameterized queries, passing your query text unaltered as well as your parameters to the PostgreSQL server where the parameters are safely substituted into the query with battle-tested parameter substitution code within the server itself.","establishedVersion":null,"verifiedVersion":"8.23.1","verifiedAt":"2026-11-28T21:00:03.753+00:00","status":"verified","veto":false},{"id":"ts-orm:node-postgres:claim:43eaae32be7a5f22dbe7f8f08097041e5b9de139f7b6cc2e2d0a8d33d3b75e79","toolSlug":"node-postgres","kind":"claim","statement":"Application code issues SQL transaction statements through a client.","sourceType":"official_docs","sourceUrl":"https://node-postgres.com/features/transactions","quote":"To execute a transaction with node-postgres you simply execute BEGIN / COMMIT / ROLLBACK queries yourself through a client.","establishedVersion":null,"verifiedVersion":"8.23.1","verifiedAt":"2026-11-28T21:00:03.753+00:00","status":"verified","veto":false},{"id":"ts-orm:node-postgres:claim:693c78e9d03cbc5f55381aa03d5c45cd47a5e8b3f6803069be1e1d22447f5950","toolSlug":"node-postgres","kind":"claim","statement":"Supports connection pooling, prepared statements, cursors and streaming.","sourceType":"official_docs","sourceUrl":"https://node-postgres.com/","quote":"It has support for callbacks, promises, async/await, connection pooling, prepared statements, cursors, streaming results, C/C++ bindings, rich type parsing, and more!","establishedVersion":null,"verifiedVersion":"8.23.1","verifiedAt":"2026-11-28T21:00:03.753+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:caution:91fd750e415da4d5d9ebea577d3b62d9b37624708ec2accb6d309193e14065d4","toolSlug":"prisma","kind":"caution","statement":"Prisma ORM 7 requires a driver adapter when constructing the client.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/guides/upgrade-prisma-orm/v7","quote":"The way to create a new Prisma Client has changed to require a driver adapter for all databases.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:claim:0a0618e9575d14237b990c72c32d6b3aa82a657edcb7a1d4ce105b4c6cb1aae4","toolSlug":"prisma","kind":"claim","statement":"Supports hosted and self-hosted PostgreSQL.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/orm/v7/core-concepts/supported-databases/postgresql","quote":"Prisma ORM supports PostgreSQL and PostgreSQL-compatible databases: hosted services such as Prisma Postgres, Neon, and Supabase, self-hosted PostgreSQL, and CockroachDB.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:claim:4c53bc35cb9c1f88fb6eda24edbc216508d0f40a3fdec958831eedf82ddf8354","toolSlug":"prisma","kind":"claim","statement":"Nested writes can update related data in one transaction.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/orm/v7/prisma-client/queries/relation-queries","quote":"A nested write allows you to write relational data to your database in a single transaction.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:claim:7eb2a56e9310682238fea2a7cfc8a18ac5133a285c82b91c5b70c2185acfc762","toolSlug":"prisma","kind":"claim","statement":"Prisma Migrate generates SQL migration files for development and production.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/orm/v7/prisma-migrate","quote":"Prisma Migrate generates a history of .sql migration files, and plays a role in both development and production.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:claim:c45e4084660f251c15bc13fc4ccca6ed18cdb3099a9f5959d5c4170a313ecb0c","toolSlug":"prisma","kind":"claim","statement":"Nested reads fetch related records from multiple tables.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/orm/v7/prisma-client/queries/relation-queries","quote":"Nested reads allow you to read related data from multiple tables in your database - such as a user and that user's posts.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:prisma:claim:fb8d8eceb72e3c49a48341d553ff19e59039186d106defbc7187af8552d45a30","toolSlug":"prisma","kind":"claim","statement":"Prisma ORM 7 generates a typed client.","sourceType":"official_docs","sourceUrl":"https://www.prisma.io/docs/orm/v7/prisma-client","quote":"Prisma Client is Prisma ORM's generated, type-safe query builder for Node.js, Bun, and Deno applications.","establishedVersion":"7.x","verifiedVersion":"7.10.1","verifiedAt":"2026-11-28T21:00:03.459+00:00","status":"verified","veto":false},{"id":"ts-orm:typeorm:caution:caaef77d14b550d915caa11077f936ddcf102d28c99f74b17c8997473cdf8e2c","toolSlug":"typeorm","kind":"caution","statement":"The docs advise against using automatic schema synchronization once production has data.","sourceType":"official_docs","sourceUrl":"https://typeorm.io/docs/migrations/why/","quote":"Typically, it is unsafe to use synchronize: true for schema synchronization on production once you get data in your database.","establishedVersion":null,"verifiedVersion":"1.1.3","verifiedAt":"2026-11-28T22:00:03.576+00:00","status":"verified","veto":false},{"id":"ts-orm:typeorm:claim:5e55e42cb571aa2240a1493b54cc898074916ea4a3655c73283dda3daeed2207","toolSlug":"typeorm","kind":"claim","statement":"Supports Active Record methods and Data Mapper repositories.","sourceType":"official_docs","sourceUrl":"https://typeorm.io/docs/guides/active-record-data-mapper/","quote":"In TypeORM you can use both the Active Record and the Data Mapper patterns.","establishedVersion":null,"verifiedVersion":"1.1.3","verifiedAt":"2026-11-28T22:00:03.576+00:00","status":"verified","veto":false},{"id":"ts-orm:typeorm:claim:665b0f47da45b18ec22fc94bf1d49eda0ef141295e7a95ad517f53f43671b428","toolSlug":"typeorm","kind":"claim","statement":"PostgreSQL is a supported database.","sourceType":"official_docs","sourceUrl":"https://typeorm.io/docs/getting-started/","quote":"Supports MySQL / MariaDB / Postgres / CockroachDB / SQLite / Microsoft SQL Server / Oracle / SAP Hana / sql.js.","establishedVersion":null,"verifiedVersion":"1.1.3","verifiedAt":"2026-11-28T22:00:03.576+00:00","status":"verified","veto":false},{"id":"ts-orm:typeorm:claim:68ac39dc719633b3610bb240f6e5251c143df3ca376899a71abdc59cd23ce2ac","toolSlug":"typeorm","kind":"claim","statement":"Entities are classes mapped to database tables.","sourceType":"official_docs","sourceUrl":"https://typeorm.io/docs/entity/entities/","quote":"Entity is a class that maps to a database table (or collection when using MongoDB).","establishedVersion":null,"verifiedVersion":"1.1.3","verifiedAt":"2026-11-28T22:00:03.576+00:00","status":"verified","veto":false},{"id":"typeorm:registry:license","toolSlug":"typeorm","kind":"registry","statement":"License: MIT","sourceType":"registry","sourceUrl":"https://github.com/typeorm/typeorm","quote":null,"establishedVersion":"1.1.3","verifiedVersion":"1.1.3","verifiedAt":"2026-12-02T19:00:03.418+00:00","status":"verified","veto":false},{"id":"typeorm:registry:maintenance","toolSlug":"typeorm","kind":"registry","statement":"Last repository push on 2026-11-28","sourceType":"registry","sourceUrl":"https://github.com/typeorm/typeorm/releases","quote":null,"establishedVersion":"1.1.3","verifiedVersion":"1.1.3","verifiedAt":"2026-11-28T22:00:03.576+00:00","status":"verified","veto":false},{"id":"typeorm:registry:release","toolSlug":"typeorm","kind":"registry","statement":"Latest release 1.1.3 on 2026-11-12","sourceType":"registry","sourceUrl":"https://www.npmjs.com/package/typeorm/v/1.1.3","quote":null,"establishedVersion":"1.1.3","verifiedVersion":"1.1.3","verifiedAt":"2026-12-02T19:00:03.418+00:00","status":"verified","veto":false}],"measurements":[],"leads":[{"toolSlug":"drizzle","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"prisma","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"kysely","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"typeorm","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"mikroorm","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]},{"toolSlug":"node-postgres","worked":0,"failed":0,"switched":0,"reporters":0,"failedReporters":0,"recent":[]}],"updatedAt":"2026-12-02T19:00:03.71+00:00"}