Typegres
Typegres is a TypeScript library for safely composing SQL queries over RPC using Cap'n Web. Developers define schemas as TypeScript classes modeling underlying tables, encapsulate queries in methods that compile down to SQL (equivalent to computed columns and first-class relations), explicitly mark class members to expose, and let clients such as web browsers query data with SQL-level power (joins, aggregations) compiled into a single secure query. It recently added SQLite support and live queries, with a playground demonstrating them.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Typegres
Typegres is a TypeScript library for safely composing SQL queries over RPC using Cap'n Web. Developers define schemas as TypeScript classes modeling underlying tables, encapsulate queries in methods that compile down to SQL (equivalent to computed columns and first-class relations), explicitly mark class members to expose, and let clients such as web browsers query data with SQL-level power (joins, aggregations) compiled into a single secure query. It recently added SQLite support and live queries, with a playground demonstrating them.
Posted by @ryanrasti · Original source ↗
Source text · @ryanrasti · · Source ↗
Typegres - SQL over RPC safely (safely compose queries over Cap'n Web):