goqu icon indicating copy to clipboard operation
goqu copied to clipboard

SQL builder and query library for golang

Results 142 goqu issues
Sort by recently updated
recently updated
newest added

**Describe the bug** This code works perfectly fine: ```go var role string found, err := db.From(TableAccountUsers).Select("role").Where(goqu.Ex{ "user_id": userId, "account_id": accountId, }).ScanValContext(ctx, &role) ``` However, if i add `.Prepared(true)` to it,...

I replaced the uppercase D with the lowercase one to be consistent with the overall convention in this file. Also, I changed the indentation at one line.

**Is your feature request related to a problem? Please describe.** Postgres supports CYCLE detection in recursive CTEs, compare https://www.postgresql.org/docs/current/queries-with.html#QUERIES-WITH-CYCLE: ```sql WITH RECURSIVE search_graph(id, link, data, depth) AS ( SELECT g.id,...

Is it possible to go from a raw query that works on sqlite3 and use goqu (possibly via Dialect esq approach) to convert it to postgres goqu or even postgres...

This PR is a replacement for #344. This PR contains all the same code changes as #344 but without all the noise of the module name change. This change adds...

Enable CTE in `mysql8` dialect.

This PR serves both as an issue report and a preliminary attempt to fix a problem in the `ScanStruct` method of `goqu`. The method encounters errors when dealing with structs...

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.17.0. Commits 9d2ee97 ssh: implement strict KEX protocol changes 4e5a261 ssh: close net.Conn on all NewServerConn errors 152cdb1 x509roots/fallback: update bundle fdfe1f8 ssh: defer channel...

dependencies

PR for issue https://github.com/doug-martin/goqu/issues/271 Do not generate INSERT IGNORE when we have DO UPDATE

i've added support for this https://clickhouse.com/docs/en/sql-reference/statements/select/array-join May be it should be added to some dialect explicitly, because ClickHouse has a lot of custom sql syntax and features. But implementing flexible...