Tool Open source
Reylo is a TypeScript tool that imports .sql files as typed modules, using TypeScript content mappers to provide static types without generated code. It has the configured database prepare each query without executing it, then infers column and parameter types, nullability, cardinality, unions, and supported JSON shapes from the query and schema; imported queries expose methods such as .run(), .runSync(), .try(), .with(), .sql, .raw, and .source. It supports PostgreSQL, MySQL, and SQLite with user-provided drivers, and can be used with TypeScript 7.1 beta, Node 24 or later, and a running development database. Reylo is distributed under the MIT license.
1 use taken from transcripts — each links to the moment in the video.
A tool that allows users to import .sql files straight into TypeScript, providing full type inference from SQL queries and database schema.
1 in the library.