Show HN: Kysely, a type-safe SQL query builder for TypeScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • kysely

    A type-safe typescript SQL query builder

  • ts-sql-query

    Type-safe SQL query builder like QueryDSL or JOOQ in Java or Linq in .Net for TypeScript with MariaDB, MySql, Oracle, PostgreSql, Sqlite and SqlServer support.

  • 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/

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • prisma-kysely

    🪄 Generate Kysely types directly from your Prisma schema!

  • 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.

  • 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 😅

  • Another "almost" like SQL library that I've heard floating around:

    https://github.com/drizzle-team/drizzle-orm

  • awesome-kysely

    A curated list of Kysely resources, tools, utilities and applications.

  • Huge shoutout to our community, bloggers and youtubers!

    https://github.com/kysely-org/awesome-kysely

  • squashql

    Official repository of SquashQL, the SQL query engine for multi-dimensional and hierarchical analysis that empowers your SQL database

  • I am building squashql-js for a slightly different use case (database agnostic SQL-like Typescript query builder among others) but Kysely and pypika (for Python) have been a great source of inspiration.

    https://github.com/squashql/squashql/blob/main/documentation...

  • kysely-postgres-js

    Kysely dialect for PostgreSQL using the Postgres.js client.

  • postgres.js is dope! I'm maintaining a Kysely community dialect for it. https://github.com/igalklebanov/kysely-postgres-js

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Any one tried Drizzle ORM + SvelteKit ?

    3 projects | /r/sveltejs | 30 Jun 2023
  • Get started with Drizzle ORM and Xata's Postgres service

    1 project | dev.to | 16 Apr 2024
  • Show HN: Tsynamo – Type-friendly DynamoDB query builder for TypeScript

    3 projects | news.ycombinator.com | 10 Apr 2024
  • Drizzle TypeScript ORM

    1 project | news.ycombinator.com | 31 Jan 2024
  • Kysely – type-safe TypeScript SQL query builder

    1 project | news.ycombinator.com | 28 Dec 2023