Introduction

sqlx-ts is a standalone CLI tool to validate and type generate against SQLs during compile-time of your Node/TypeScript projects. sqlx-ts is database agnostic (works with MySQL, Postgres and more).

validates SQLs in your code at compile time

generate types for type-safety

works with multiple types of databases

supports SELECT, UPDATE, DELETE, and INSERT statements