mk3008/rawsql-ts
SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.
AST-based SQL parsing enables deterministic Zero Table Dependency (ZTD) testing by rewriting queries to run against in-memory fixtures instead of physical tables, eliminating database setup overhead while preserving handwritten SQL expressiveness. The toolkit provides type-safe result mapping, AST-driven impact analysis for schema changes, and a feature-first CLI (`ztd-cli`) for SQL artifact generation, migration inspection, and machine-readable automation workflows. Driver-agnostic core with Postgres and SQLite adapters supports both traditional execution and fixture-backed testing patterns.
Available on npm.
Stars
29
Forks
1
Language
TypeScript
License
MIT
Category
Last pushed
Mar 18, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mk3008/rawsql-ts"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
helios1138/graphql-typed-client
A tool that generates a strongly typed client library for any GraphQL endpoint. The client...
denisart/graphql-query
Complete Domain Specific Language (DSL) for GraphQL query in Python.
Shopify/syrup
A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.
tomyitav/create-graphql-app
Cli tool for bootstrapping serverless GraphQL api
swapnilmj/web-vqd
Design SQL "select" queries visually. SQL "joins" by drag-n-drop.