by skrebbel · 3y ago · 0 comments
Personally I feel it’s one of the best designed (and documented) TS libraries out there and I’m sad it’s not very well known.
PgTyped was the alternative, and 2 years later I’m very glad we made the switch.
CREATE SCHEMA a;
CREATE SCHEMA b;
CREATE TABLE a.foo (id SERIAL PRIMARY KEY);
CREATE TABLE b.foo (id SERIAL PRIMARY KEY);Which isn’t to say it’s not a great tool! You pick what you like :)
It also works with @neondatabase/serverless on platforms without TCP connections (though it’s on my TODO list to make this less fiddly): https://github.com/neondatabase/neon-vercel-zapatos