# goqu

Go SQL builder and executor with an expressive query DSL that generates SQL for several database dialects.


Source: https://findsoftware.frbit.cloud/goqu/
Last reviewed: 2026-11-09
Listed since: 2026-11-09

## Record

### Links

- home: https://doug-martin.github.io/goqu/
- repository: https://github.com/doug-martin/goqu
- docs: https://github.com/doug-martin/goqu/tree/master/docs

### Identity

- status: active
- maintainer: Doug Martin
- maintainerType: individual
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: mysql, postgres, sqlite, sqlserver
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: go modules

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 9
- latestReleaseDate: 2026-11-05

### Adoption

- githubStargazers: 2675
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 55
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://doug-martin.github.io/goqu/ (read 2026-11-09)
- urls: https://api.github.com/repos/doug-martin/goqu (read 2026-11-09)
- urls: https://github.com/doug-martin/goqu/blob/master/README.md (read 2026-11-09)
- maintainer: https://github.com/doug-martin/goqu/blob/master/LICENSE (read 2026-11-09)
- language: https://api.github.com/repos/doug-martin/goqu (read 2026-11-09)
- category: https://github.com/doug-martin/goqu/blob/master/README.md (read 2026-11-09)
- runtime: https://github.com/doug-martin/goqu/blob/master/README.md (read 2026-11-09)
- installMethod: https://github.com/doug-martin/goqu/blob/master/README.md (read 2026-11-09)
- databases: https://github.com/doug-martin/goqu/blob/master/docs/dialect.md (read 2026-11-09)
- license: https://api.github.com/repos/doug-martin/goqu (read 2026-11-09)
- firstRelease: https://api.github.com/repos/doug-martin/goqu/tags (read 2026-11-09)
- currentMajor: https://api.github.com/repos/doug-martin/goqu/releases (read 2026-11-09)
- latestReleaseDate: https://api.github.com/repos/doug-martin/goqu/releases (read 2026-11-09)
- githubStargazers: https://api.github.com/repos/doug-martin/goqu (read 2026-11-09)
- contributors: https://api.github.com/repos/doug-martin/goqu/contributors?per_page=1 (read 2026-11-09)

## Notes

goqu is a Go SQL builder that builds SELECT, INSERT, UPDATE and DELETE statements from a query DSL and can execute them. Each database has a dialect that the program imports to register it, and the dialect controls the SQL a dataset generates; a package-level default dialect can be set once at startup. The dialects that ship with goqu cover MySQL, PostgreSQL, SQLite and SQL Server.

## Worth knowing

The README says goqu is not intended to be used as an ORM when a program needs associations or hooks, and it points to ORM libraries for those features.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
