goqu
goqu copied to clipboard
SQL builder and query library for golang
Add arithmetic supported, like ```go goqu.C("a").Add(1) // "a" + 1 goqu.C("a").Sub(-1).As("b") // ("a" - 1) AS "b" ```
uint64 cast to int64 caused lost of data #317
**Describe the bug** I could not find in the documentation how to filter using array operation **To Reproduce** I want to perform this query, where the input to filter if...
Hi First of all, thank you very much for providing such a great tool. col := []string{"a","b"} goqu.From("test").Select(col) Can slice as a parameter to select? The values of the columns...
Hi!, when making queries with the MySQL dialect (which is the only one I need for now and have tryed), and using the ToSQL() method to get a string representation...
**Describe the bug** A clear and concise description of what the bug is. While using prepared statement, columns are not encoding to SQL string. But it's returning encoding error for...
MS SQL: DISTINCT and TOP in the same query MS SQL: Order in sub query
This lib can build Insert queries from a struct which is a very nice and handy feature. I might get something wrong here, but this seems not to work for...
**Describe the bug** I need to insert a value using the postgis function `ST_GeomFromEWKB`. This expects a binary argument. However, it seems that the argument is not being correctly formatted,...