An experiment in structurally-safe MySQL query building using TypeScript.
This project is fully functional but should not be used anymore.
Instead, look at,
Documentation may be found here
Examples may be found in test/compile-time
, test/run-time
, test/execution
.
Current code coverage is about 74%
- 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 asstring
. It should not narrow to"test"