qbs icon indicating copy to clipboard operation
qbs copied to clipboard

QBS stands for Query By Struct. A Go ORM.

Results 10 qbs issues
Sort by recently updated
recently updated
newest added

```golang package main import ( "fmt" "github.com/coocood/qbs" _ "github.com/mattn/go-sqlite3" "log" "time" ) type Blog struct { Id int64 Title string `db:"title"` Author string `db:"author"` Published time.Time `db:"published"` } func checkErr(err...

Fix for error `parsing time "2015-12-02 19:15:53.964608741-08:00": extra text: -08:00` when loading time.Time fields from sqlite3 TEXT fields

- oracle.go: Handle QueryRow multiple return values - postgres.go: Handle QueryRow multiple return values - qbs.go: Return an error during QueryRow This fixes a panic in the qbs.Count and qbs.ContainsValue...

There is a panic in qbs.Count when the rows returned to count don't exist (because the table doesn't exist yet, the connection hasn't come up yet, etc). ``` 2015/02/10 01:46:58...

Sqlite3 has an own data type for timestamps: datetime. Qbs does not support "datetime" with sqlite. So it's hard to use an existing database. When I use "text" for my...

I suggest that the source code get's linted with https://github.com/golang/lint According to the linter, it is for example necessary to name all methods that contain the keyword `id` uppercase, for...

I noticed that `lib/pq` started to support `COPY FROM STDIN`. Does it make sense to rewrite `BulkInsert` method to use this technique for postgres (maybe by making it a part...

Currently I only read the docs and i read this: > If Id is set to a positive integer, Save would query the count of the row to find >...

Are there any plans to implement relationships between tables and Joins?