We use Prisma for other DurHack projects in TypeScript, which works great, but Prisma is a JS/TS ORM and doesn't officially support other languages.
We should evaluate potential replacements for mongo and how much migration effort would be required.
ORMS: we write Go code which performs SQL queries
SQL compilers: we write SQL code and use the tool to generate Go code to perform the query
Note ORMs often come with a migration tool built in. With a SQL compiler we would likely need to also choose a SQL migration tool such as https://github.com/rubenv/sql-migrate
eg ORMs:
eg SQL compilers:
complete list: https://github.com/d-tsuji/awesome-go-orms
We use Prisma for other DurHack projects in TypeScript, which works great, but Prisma is a JS/TS ORM and doesn't officially support other languages.
We should evaluate potential replacements for mongo and how much migration effort would be required.
ORMS: we write Go code which performs SQL queries
SQL compilers: we write SQL code and use the tool to generate Go code to perform the query
Note ORMs often come with a migration tool built in. With a SQL compiler we would likely need to also choose a SQL migration tool such as https://github.com/rubenv/sql-migrate
eg ORMs:
eg SQL compilers:
complete list: https://github.com/d-tsuji/awesome-go-orms