4 ms·
Any chance you have that ORM of yours open-sourced somewhere?
by aalhour 9y ago
Any chance you have that ORM of yours open-sourced somewhere?
- tptacek 9y agoNo, but (1) sqlboiler is a much better ORM, and (2) it is surprisingly easy to build these things yourself; mine's just a bunch of text/template templates and ~100 lines of Go code to scrape a Postgres schema. (I mean: this code will be open sourced pretty soon, since it's part of a bigger open source thingy I'm releasing, but the ORM isn't very good, just as good as I needed it to be; nobody should ever use it for another project.)
- aalhour 9y agoGo it. Sounds like a fun educational project to build, an ORM tgat scrapes a PostgreSQL database and provides primitives to query it.