3 ms·
I'm curious about that ecosystem, especially with regard to databased. I asked this elsewhere, but what're the main libraries for database access?
by dventimihasura 3y ago
I'm curious about that ecosystem, especially with regard to databased. I asked this elsewhere, but what're the main libraries for database access?
- freedomben 3y agoFor databases it varies quite a bit. Among people who like to use an ORM, TypeORM is the current thing that is in widespread use. For non-ORM people, most use pg or a similar thin-layer on top of raw SQL. In enterprise it was a lot of raw SQL as well, in large part because there was a lot of different DBs to support from db2 to SQL Server to Postgres
- dventimihasura 3y agoIt's dodgy finding the right search term, but at first blush it looks like sequelize is most popular, though the gap has narrowed considerably.
- ahzhou 3y agoThey fall under a few buckets: Driver: - node-postgres - node-mysql2 Query Builder / Other thin clients: - knex - kysely - slonik ORM: - TypeORM - MikroORM - Objection.js - DrizzleORM - Prisma (actually runs a separate binary)