dbr icon indicating copy to clipboard operation
dbr copied to clipboard

Additions to Go's database/sql for super fast performance and convenience. (fork of gocraft/dbr)

Results 12 dbr issues
Sort by recently updated
recently updated
newest added

I want to get the following data: - Prepared statement. - Passed values. - Query with bind value. Currently, I find no way to do these things.

По аналогии со структурой clickhouse добавил в остальные диалекты метод `String()`, возвращающий название драйвера. Существующий пример из диалекта clickhouse ``` func (d clickhouse) String() string { return "clickhouse" } ```

Please update the document.

Prepare db: ```sql create table test ( date DateTime, event String ) engine MergeTree() order by date; ``` Run go code: ```go func TestIssue2(t *testing.T) { conn, _ := dbr.Open("clickhouse",...

Here's the case. Prepare some db and test if it's working: ```sql create table test ( date DateTime, event String ) engine MergeTree() order by date; insert into test format...

The readme mentions it is a fork. It helps if the differences are specified.

is it possible to create structures one to many db: clickhouse 20.3.5.21 example: ``` type DomainType struct { Id string `json:"id"` Domain string `json:"domain"` Date time.Time `json:"date"` Redirects []*Redirect `json:"redirects"`...

Замена *sql.DB на интерфейс, для добавления возможности декорирования или мока sql-клиента