db icon indicating copy to clipboard operation
db copied to clipboard

Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

Results 131 db issues
Sort by recently updated
recently updated
newest added

The mongo driver being used in no longer maintained, is there any plan to switch to the official mongo driver?

The following code gives me back _no more rows in this result set_ ```go type Entries []Entry type Entry struct { Id int Title string ... } func ReadAll(session sqlbuilder.Database)...

How to user global variable to store DB connection in upper.io

Atomic transactions are unnecessary overhead for bulk operations, and lead to memory spikes in distributed deployments. Please remove the `tx` wrapping that happens in `StatementExec` for batch insertion and other...

question

Some collection methods appear to ignore custom database serializers and deserializers. I added `log.Printf("BART!\n")` at the top of my Scan() and Value() implementations, and made sure that my Scan() was...

`Update()` sends all fields in the object, even those that didn't change, this could lead to inconsistencies if two UPDATEs are sent on the same object at the same time....

enhancement

I am trying to do a join query and have it map correctly to my struct: ```go type ExerciseCms struct { Uuid string `db:"uuid" json:"uuid"` Timestamp int64 `db:"timestamp" json:"timestamp"` Object...

Proposal: ```diff - import db "upper.io/db.v3" + import "github.com/upper/db ``` 1. Drop the version from the import path. The versioning can be handled with Dependency Managers (https://github.com/golang/dep or similar). 2....

proposal

I've the following code: https://github.com/argoproj/argo/blob/850669f7a04d2f5ba07ea9ef93012b10dd3bca89/persist/sqldb/workflow_archive.go#L46 This is very slow (taking 7 seconds to return). My hypothesizes that column `workflow` is very large (up to 1MB) and that the cost of...

The `db.Collection` interface does not include a `Database()` function, even though it is implemented by most every adapter's `collection` implementation. If interacting with a collection through the standard `db.Collection` interface...