Show HN: Reylo – Import .sql files into TypeScript with full type inference
Category: devtools
Tags: typescript, sql, type-inference, database, developer-tools
Score: 7.8/10 (Innovation: 8, Technical: 8, Documentation: 8, Utility: 7)
Reylo is a tool that lets you import .sql files directly into TypeScript with full type inference, using TypeScript 7.1's content mappers to statically type query results based on your database schema. It checks queries against a live dev database, infers nullability, cardinality, and unions, and works with multiple databases and drivers without codegen or watchers.
Target audience: backend developers, full-stack developers, TypeScript developers
Repository: https://github.com/reylosql/reylo · Rust · MIT · 1674 stars
View on Hacker News