go-sqlbuilder icon indicating copy to clipboard operation
go-sqlbuilder copied to clipboard

A flexible and powerful SQL string builder library plus a zero-config ORM.

Results 18 go-sqlbuilder issues
Sort by recently updated
recently updated
newest added

### Summary Add insert ignore support for postgres and sqlite. For pg, this is `ON CONFLICT DO NOTHING`, for sqlite it's `INSERT OR IGNORE` - https://www.postgresql.org/docs/current/sql-insert.html - https://www.sqlite.org/lang_insert.html ### Testing...

enhancement

* Add CQL flavor. * Add support for CQL argument compilation. * Adopt substests for interpolation tests. * Add support for CQL interpolation. * Add support for CQL blobs: https://docs.datastax.com/en/cql-oss/3.x/cql/cql_reference/blob_r.html...

enhancement

I am attempting build a query of the form ```sql SELECT EXISTS (SELECT 1 FROM table WHERE ... ) ``` Without resorting to writing raw sql using `sb.SQL()`, is there...

question

I can add WITH statement for this lib, you think this need?

enhancement

The format is not '?' It is defined in https://clickhouse.com/docs/en/interfaces/http#cli-queries-with-parameters

enhancement

Per #94, add some cases for performance.

help wanted

Can we have benchmarks against other builder like [squirrel](https://github.com/Masterminds/squirrel)

question

Support using the `WITH RECURSIVE ...` keywords for recursive CTEs.

enhancement

This change adds support for recursive CTEs by introducing the `Recursive()` method to `CTETableBuilder`. This method is automatically called by the existing `CTETable(name, cols)` function, but can also be called...

enhancement