Skip to content

retronouns/sql-ts-map

Repository files navigation

sql-ts-map

This is a proof of concept method for inferring Typescript types from a string literal containing raw SQL.

It is assuming database introspection was used to create a generated Typescript type that corresponds to the database's schema.

No other code generation is used.

To run:

  1. npm i from the project root
  2. navigate to main.ts and mouseover SelectTest

Types

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published