Usage examples showing sqlx-ts with different database drivers.
- pg - PostgreSQL with
pgdriver - mysql2 - MySQL with
mysql2driver - sequelize - PostgreSQL with Sequelize ORM
- sqlite - SQLite with
better-sqlite3(no Docker needed)
# Start databases (from repo root)
docker compose up -d
# Install demo dependencies
cd demo
npm install
# Generate types and type-check
npm run compile:all
npm run typecheck