Nicolas
Nicolas•10mo ago

Is it possible to use a typesafe ORM

Is it possible to use a typesafe ORM like Drizzle ORM or Kysley when working with Postgres across my functions? Like I want to store my schema in some global state so all my scripts can reference the same schema for easily working with Postgres in Typescript. Would this also be possible using Mongoose for MongoDB? Thank you
6 Replies
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
rubenf
rubenf•9mo ago
also @bogdanitza512 , might be worth sharing with the community when you have time 🙂 maybe in github discussions or something
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Nicolas
Nicolas•9mo ago
That's awesome! I love drizzle and used it on another app with SST, so if I can use that again that would be great! Would like to see how you manage your schema across multiple scripts i can also help with docs when I get it started and working
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Nicolas
Nicolas•9mo ago
this is awesome, when I get some time this weekend i will try this out!