Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Godb is a simple Go ORM for PostgreSQL, MySQL, SQLite and SQL Server. Parent comment
You can build nested queries, doing some extra work, but it's not elegant and will not work for any cases (especially with PostgreSQL) : https://gist.github.com/samonzeweb/b1ae3e2d1f3203ee1722ac4bd...
Some work to do to add proper nested queries into godb, but for a so simple example it doesn't seem to be extremely hard.
There are no comments on this comment yet.
You can build nested queries, doing some extra work, but it's not elegant and will not work for any cases (especially with PostgreSQL) : https://gist.github.com/samonzeweb/b1ae3e2d1f3203ee1722ac4bd...
Some work to do to add proper nested queries into godb, but for a so simple example it doesn't seem to be extremely hard.