2

SafeQL - Write SQL queries with confidence | Product Hunt

 1 year ago
source link: https://www.producthunt.com/posts/safeql
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Ranked #20 for today

SafeQL

Write SQL queries with confidence

SafeQL is an ESLint plugin for writing SQL queries in a type-safe way.- Automatic Type Inference & Validation- Compatible With Popular SQL Libraries- Easy To Use- Built with Monorepos & Microservices in mind
HunterMaker
Upvoter
Upvoter
Upvoter
Upvoter
Upvoter
Upvoter
Upvoter
Upvoter
Lemon.io
Ad
Hire vetted developers for affordable rates

## Why SafeQL?

There are many well known popular SQL libraries out there, such as [Prisma](https://www.prisma.io/), [Sequelize](https://sequelize.org/), [pg](https://node-postgres.com/), [postgres](https://github.com/porsager/post...). So why should I even consider SafeQL?

### It's a plugin, not an SQL library

SafeQL was never meant to replace your current SQL library. Instead, It's a plugin that you can use to add extra functionality to your existing SQL library. It means that you can use SafeQL with any SQL library that you want. You can even use SafeQL with multiple SQL libraries at the same time.

## Why should I write raw queries in the first place?

While using our favorite SQL library, sometimes it fails to provide the extra functionality that we need. It can be due to a missing feature, performance issue, or a complex query that is hard to write using the library's API. In these cases, the library will point you to write a raw query, and here's the point where SafeQL comes in.## Why SafeQL?

There are many well known popular SQL libraries out there, such as [Prisma](https://www.prisma.io/), [Sequelize](https://sequelize.org/), [pg](https://node-postgres.com/), [postgres](https://github.com/porsager/post...). So why should I even consider SafeQL?

### It's a plugin, not an SQL library

SafeQL was never meant to replace your current SQL library. Instead, It's a plugin that you can use to add extra functionality to your existing SQL library. It means that you can use SafeQL with any SQL library that you want. You can even use SafeQL with multiple SQL libraries at the same time.

## Why should I write raw queries in the first place?

While using our favorite SQL library, sometimes it fails to provide the extra functionality that we need. It can be due to a missing feature, performance issue, or a complex query that is hard to write using the library's API. In these cases, the library will point you to write a raw query, and here's the point where SafeQL comes in.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK