Post #3026025
2026-05-21 13:01 UTC
I made a thing, and documented how to make unfied type mapping for PGLite and PG (and postgres) https://github.com/Ciantic/pg-unified-mapping/tree/main
It is very rocky road! Timestamps, dates are *totally* broken by default, arrays are flaky.
If you ever use PGLite for unit tests you need to unify the mappings so that tests and runtime doesn't differ.
#NPM #Postgres #NodeJS #Javascript #Typescript
Replies (0)
No replies.