mgutz/dat
View on GitHub ↗ ★ 611 Go
Go Postgres Data Access Toolkit
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2015-04-17 · latest 2021-11-11
20082026
-
…gave us the right balance between abstraction and control. [1] http://jmoiron.github.io/sqlx/ [2] https://github.com/mgutz/dat
comment by korginator · 2021-11-11 · in Twelve Years of Go -
sqlx ( https://github.com/jmoiron/sqlx ) is my go-to as well. mgutz/dat ( https://github.com/mgutz/dat ) and dbr ( https://github.com/gocraft/dbr ) are also more ORM-like alternatives if that's what you need—query builders with the option…
comment by elithrar · 2015-09-03 · in Porting Flask to Go – Jinja2 to Pongo2 -
Postgres 9.3+ is fairly straight-forward too. Here is go + github.com/mgutz/dat // one trip to database using subqueries and Postgres' JSON functions con.SelectDoc("id", "user_name", "avatar"). HasMany("recent_comments", `SELECT id, title…
comment by mmgutz · 2015-04-17 · in RethinkDB 2.0 is amazing