SafeQL - Automatic Type Inference & Validation for PostgreSQL Queries • Get started
demo.mp4
-
SafeQL automatically infers the type of the query result based on the query itself.
-
SafeQL works with any PostgreSQL client, including Prisma, Sequelize, pg, Postgres.js, and more.
-
SafeQL was built in mind to be easy to use and integrate with your existing codebase.
-
SafeQL was built with monorepos and microservices in mind, and it's easy to use with multiple databases.
I would first recommend follow the instructions in the documentation.
Make sure you have ESLint installed in your project and that it's configured to work with TypeScript.
Prerequisites for Windows
- Python should be installed
- Visual C++ build tools workload for Visual Studio 2022
You can use Chocolatey Package Manager (See Installation / Setup)
choco install python visualstudio2022-workload-vctools -ynpm install --save-dev @ts-safeql/eslint-plugin libpg-query
