Skip to content

AnyhowStep/typed-orm

Repository files navigation

typed-orm

An experiment in structurally-safe MySQL query building using TypeScript.


DEPRECATION NOTICE

This project is fully functional but should not be used anymore.

Instead, look at,


Documentation

Documentation may be found here


Examples

Examples may be found in test/compile-time, test/run-time, test/execution.

Current code coverage is about 74%

Gotcha's

  • Using .whereEq("test") may return a row with "TEST" if the collation is case-insensitive. TODO Double check if it narrows the column type to "test" or leaves it as string. It should not narrow to "test"

About

An experiment in type-safe MySQL query building using TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages