gopkg.in/ulule/loukoum.v2 (go): Package loukoum provides a simple SQL Query Builder. At the moment, only PostgreSQL is supported.  If you have to generate complex queries, which rely on various contexts, loukoum is the right tool for you. It helps you generate SQL queries from composable parts. However, keep in mind it's not an ORM or a Mapper so you have to use a SQL connector (like "database/sql" or "sqlx", for example) to execute queries.  If you're afraid to slip a tiny SQL injection manipulating fmt (or a byte buffer...) when you append conditions, loukoum is here to protect you against yourself.  For further informations, you can read this documentation: https://github.com/ulule/loukoum/blob/master/README.md  Or you can discover loukoum with these examples. An "insert" can be generated like that:  Also, if you need an upsert, you can define a "on conflict" clause:  Updating a news is also simple:  You can remove a specific user:  Or select a list of users...
Keywords: builder|go|golang|postgres|postgresql|query|query-builder|sql