Dev tools · alternatives · 2026

24 alternatives to SafeQL
Write SQL queries with confidence
Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. SafeQL launched in 2022; newer entries below may have overtaken it.
- 1

A SQL database implemented purely in TypeScript type annotations. - codemix/ts-sql
2020 · github.com · its alternatives →
- 2KA
The most powerful type-safe SQL query builder for TypeScript
2023 · kysely.dev · its alternatives →
- 3

Hi everyone — thanks for your interest in PRQL — let us know any questions or feedback! We're excited to be releasing 0.2[1], the first version of PRQL you can use in your own projects. It wouldn't exist without the feedback we got from HackerNews when we originally posted the proposal. [1]: https://github.com/prql/prql/releases/tag/0.2.0
2022 · github.com · its alternatives →
- 4

GraphQL APIs in TypeScript with complete e2e type safety
2021 · uniform-graphql.whatsgood.dog · its alternatives →
- 5

An extremely simple and explicit ORM for TypeScript - Seb-C/kiss-orm
2020 · github.com · its alternatives →
- 6

Search for files using a fun query language. Contribute to kashav/fsql development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 7

Throughout my career, I tried many tools to query PostgreSQL, and in the end, concluded that for what I do, the simplest is almost always the best: raw SQL queries. Until now, I typed the results manually and relied on tests to catch problems. While this is OK in e.g., GoLang, it is quite annoying in TypeScript. First, because of the more powerful type system (it's easier to guess that updated_at is a date than it is to guess whether it's nullable or not), second, because of idiosyncrasies (INT4s are deserialised as JS numbers, but INT8s are deserialised as strings). So I wrote pg-typesafe,…
Feb 2026 · github.com · its alternatives →
- 8

pgTyped - Typesafe SQL in TypeScript. Contribute to adelsz/pgtyped development by creating an account on GitHub.
2020 · github.com · its alternatives →
- 9

Types generator for your Bun.sql queries. Contribute to ilbertt/bun-sqlgen development by creating an account on GitHub.
Jun 2026 · github.com · its alternatives →
- 10

This extension let's you write PRQL functions in PostgreSQL. When I first saw PRQL on Hacker News a few months ago, I was immediately captivated by the idea, yet equally disappointed that there was no integration for PostgreSQL. Having previous experience with writing PostgreSQL extensions in C, I thought this was a great opportunity to try out the pgrx framework and decided to integrate PRQL with PostgreSQL myself. The maintainers of both PRQL and pgrx were very nice to work with. Thanks guys.
2024 · github.com · its alternatives →
- 11

- 12

PugSQL is a Python library for interacting with your database the way the gods intended.
2019 · pugsql.org · its alternatives →
- 13
Text2Query▲103Turn plain language into powerful database queries
2025 · text2query.com · its alternatives →
- 14SC
2019 · conroy.org · its alternatives →
- 15

Hey all, I just released v2.0.0 of FilterQL, a query language and TypeScript library. This version adds support for Operations, which allow you to transform the data after filtering. If you think this would be useful in a project you're working on, give it a try and let me know what you think!
2025 · github.com · its alternatives →
- 16

Contribute to akdor1154/python-csql development by creating an account on GitHub.
2020 · github.com · its alternatives →
- 17

An interpreted relational query language that compiles to SQL. - erezsh/Preql
2021 · github.com · its alternatives →
- 18

- 19

A pure ORM for writing native SQL queries yielding pure business objects - craigmichaelmartin/pure-orm
2021 · github.com · its alternatives →
- 20

Hey all, I'm the creator of @pg-nano/pg-parser. I'm using it in pg-nano[1] to statically analyze Postgres schemas spread across multiple SQL files for a couple of reasons: 1. Each CREATE statement needs to be in topological order, so pg-nano's dev command can execute them without issue. 2. pg-nano has a plugin system like Vite that allows SQL generation based on the parsed schema. Probably to the surprise of no one, working with an untyped AST feels like you're back in the days of JavaScript, because well... you are. Most of you know by now just how great TypeScript and static types in…
2024 · github.com · its alternatives →
- 21

- 22

Hi HN, we're excited to share our open source tool with the community! We previously posted here with the tagline “real-time events for Postgres” [0]. But after feedback from early users and the community, we’ve shifted our focus to working on tooling for manual database changes. We've consistently heard teams describe challenges with the way manual data updates are handled. Seemingly every engineer we spoke with had examples of errant queries that ended up causing significant harm in production environments (data loss/service interruptions). We’ve seen a few different approaches to how…
2023 · github.com · its alternatives →
- 23

Hi all, I've made a javascript library to simplify searching/sorting/filtering in arrays of objects. Its inspired by both GraphQL and SQL, but implemented using javascript Proxies. Instead of creating a new language, its all just javascript. I've made it as part of an experimental database, which uses javascript as the query engine. The normal javascript map/reduce/sort functions are quite difficult to master for junior developers. JAQT is easier to explain, and can still be used in combination with any existing array functions. Please let me know what you think of the…
2024 · github.com · its alternatives →
- 24

Build Typed GraphQL Queries in TypeScript without the code generation - acro5piano/typed-graphqlify
2018 · github.com · its alternatives →
Also compare
- A SQL database implemented purely in TypeScript type annotations alternatives
- Kysely, a type-safe SQL query builder for TypeScript alternatives
- PRQL 0.2 – a better SQL alternatives
- Uniform GraphQL alternatives
- ORM for TypeScript with no query-builder, supporting full SQL queries alternatives
- FSQL – Search through your file system with SQL-esque queries alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →