SafeQL - Write SQL queries with confidence | Product Hunt
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.
SafeQL
Write SQL queries with confidence
## 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK