prisma-kysely
ts-sql-query
prisma-kysely | ts-sql-query | |
---|---|---|
3 | 2 | |
808 | 262 | |
- | - | |
6.2 | 9.0 | |
about 1 month ago | 26 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prisma-kysely
-
Drizzle is just as unready for prime-time as Prisma, what else is there?
You can just use prisma for migrations. check out prism-kysely
-
Show HN: Kysely, a type-safe SQL query builder for TypeScript
I typed up a comment saying how much I’d love to drop this in alongside my Prisma code so I can keep using the ORM for simple things and have the option to drop into SQL as needed. It ended asking if anyone knew whether such a thing was possible. I decided to check the docs one more time and… here it is! https://github.com/valtyr/prisma-kysely
I’m excited. I enjoy Prisma but SQL can be expressive. Looking forward to trying this.
-
Kysely: A type-safe SQL query builder for Typescript by the author of objection.js
You can use Prisma for schema management and migrations, while using Kysely for query building and execution (check out https://github.com/valtyr/prisma-kysely). This is especially great in FaaS where Prisma is causing people trouble.
ts-sql-query
-
Show HN: Kysely, a type-safe SQL query builder for TypeScript
We moved away from zapatos because the generated types are good only when selecting from single table. The moment we start selecting some subset of columns from a join of multiple tables, it is upto the developer to provide the right combination of pick and intersection of generated types and type safety takes a hit.
The solution we use right now is ts-sql-query which supports automatic type-safety for complex joins, CTEs, subselects etc.
https://ts-sql-query.readthedocs.io/
- Well, shit. Objection.js has been sunset, which ORM/querybuilder did you move to?
What are some alternatives?
kysely - A type-safe typescript SQL query builder
drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
kysely-postgres-js - Kysely dialect for PostgreSQL using the Postgres.js client.
squashql - Official repository of SquashQL, the SQL query engine for multi-dimensional and hierarchical analysis that empowers your SQL database
awesome-kysely - A curated list of Kysely resources, tools, utilities and applications.
kysely-codegen - Generate Kysely type definitions from your database.
stacks - ⚛️ Type-safe full-stack framework for Artisans. Develop modern clouds, apps & framework-agnostic libraries, faster.