Skip to content

issues Search Results · repo:doug-martin/goqu language:Go

Filter by

237 results
 (46 ms)

237 results

indoug-martin/goqu (press backspace or delete to remove)

Describe the bug When using a null sql.NullInt32 in a query using postgres dialect, the created query uses WHERE x = NULL, instead of the correct WHERE x is NULL. To Reproduce package main import ( ...
  • Gilthans
  • 1
  • Opened 
    on Jan 8
  • #438

Describe the bug If you try to insert row into a table with default values, there is no DEFAULT VALUES statement in the query itself. This causes problems, for example, if you want to conditionally clear ...
  • MichaelSBoop
  • Opened 
    on Dec 9, 2024
  • #437

Describe the bug []byte are encoded as strings leading to queries not accepted by Postgres. To Reproduce package main import ( log github.com/doug-martin/goqu/v9 ) type Test struct { Total uint32 ...
  • MokoshHydro
  • Opened 
    on Nov 30, 2024
  • #436

Describe the bug Incorrect table alias escaping with instead of ` To Reproduce innerq := q.Select( ip_address ).Distinct() q := goqu.Select(goqu.COUNT(goqu.Star()).As( count )).From(innerq) generates: ...
  • lesichkovm
  • 1
  • Opened 
    on Oct 26, 2024
  • #434

Is your feature request related to a problem? Please describe. I d Like to use a Struct to select which fields are used in select. One field I have is created via a join, so I d like to be able to skip ...
  • Smithx10
  • Opened 
    on Oct 25, 2024
  • #433

The implementation of the sqlite3 dialect (dialect/sqlite3/sqlite3.go) configures opts.SupportsReturn = false. However, the SQLite driver does support RETURNING (see docs), which can easily be verified ...
  • yktoo
  • 2
  • Opened 
    on Oct 5, 2024
  • #432

For example, I want to generate a query like this: SELECT * FROM `foo` WHERE `status` = 1 AND `bar` = ? LIMIT 10 however I am now only able to generate SQL like SELECT * FROM `foo` WHERE `status` = ...
  • zhyee
  • Opened 
    on Sep 24, 2024
  • #431

In my project I have Oracle 19c, that do not know about LIMIT command. But cuz I want pagination, I decided to make query like this: SELECT col_1, col_2 FROM my_table WHERE ... -- under K and N is values ...
  • nek1kek
  • Opened 
    on Sep 5, 2024
  • #429

Is your feature request related to a problem? Please describe. Hello 👋 So we use Goqu all throughout Neosync and I ve just run into a little issue with special characters in schemas and tables (I guess ...
  • nickzelei
  • Opened 
    on Sep 3, 2024
  • #428

Describe the bug When using .Prepared(true) it replaces the interpolated arguments with ?, even though Postgres is expecting $1, $2, etc. Expected behavior I expect it to use the correct parameter format. ...
  • veqryn
  • 6
  • Opened 
    on Sep 2, 2024
  • #427
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub