How I made database joins type-safe in TypeScript.
Context: What is an ORM?
An ORM (Object-relational Mapper) is a tool that adds a layer of abstraction on to databases. For example, if we had a "team" table in a SQL database and wanted to fetch a team with TypeScript, we could do the following:
cons...
blog.lucas-simon.com8 min read