Goqu Alternatives

Similar projects and alternatives to goqu

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better goqu alternative or higher similarity.

Suggest an alternative to goqu

Reviews and mentions

Posts with mentions or reviews of goqu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-30.
  • Migrating from PHP to Go
    26 projects | reddit.com/r/golang | 30 Sep 2021
    https://github.com/doug-martin/goqu for building SQL queries. Supports MySQL and Postgres at least - super handy!
  • We Went All in on Sqlc/Pgx for Postgres and Go
    31 projects | news.ycombinator.com | 8 Sep 2021
    This looks better than typical ORMs, but still not giving me what I want.

    I want query objects to be composable, and mutable. That lets you do things like this: http://btubbs.com/postgres-search-with-facets-and-location-a.... sqlc would force you to write a separate query for each possible permutation of search features that the user opts to use.

    I like the "query builder" pattern you get from Goqu. https://github.com/doug-martin/goqu

  • What are the most useful packages you know for Go?
    15 projects | reddit.com/r/golang | 25 Jul 2021
    github.com/doug-martin/goqu - SQL query builder. Don't like ORMs in general, didn't like GORM. The API is a bit verbose but it does the job and supports tons of SQL features including database specific ones.
  • Yes or No on ORMs???
    2 projects | reddit.com/r/golang | 20 Jul 2021
    Depends on what you mean by ORM. Does query builders qualify as ORM? I tried GORM and didn't like it. Currently using goqu on several projects and like it very much. Use it as plain SQL builder for pgx connector. I have all the power of SQL but without fiddling with strings and bindings. Don't mind scanning manually without reflection.
  • Windyquery: A non-blocking Python PostgreSQL query builder
    5 projects | news.ycombinator.com | 10 May 2021
    That is basically the description of an object mapper, with all the guarantees of an object mapper :). It seems if you actually use the query builder as such, no guarantees exist.

    I'm pretty picky regarding query builders and ORM's, to the extent of having written several of them over the years, in different languages (both dynamic and strong typed, unfortunately closed-source). I'm a strong advocate of schema-first design, and usually a query builder will allow you to design your queries explicitly, but having some internal behaviors (such as string concatenation, identifier quoting and automatic in-order separation of parameters and values to be bound) taken care of. As good examples of this, I'd mention golang's goqu (https://github.com/doug-martin/goqu) and - to some extent - C# SqlKata (https://sqlkata.com/). Following my frustrations with Python ORMs, I built my own toy project, sort-of-in-beta, called rickdb (https://github.com/oddbit-project/rick_db).

  • Using pgx and squirrel with PostgreSQL
    3 projects | reddit.com/r/golang | 26 Feb 2021
    I would recommend to use alternate query builder instead of squirrel. Squirrel lacks some advanced statements such as union, also sometimes it's quite painful to write complex joins using that lib (gogu for example).


Basic goqu repo stats
7 days ago

doug-martin/goqu is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote Go jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.