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

![image](https://user-images.githubusercontent.com/16187191/180602661-8d20bd84-b07e-4b58-b6d0-29135f129db2.png) each save should check the primary key exist , this is not good.

![image](https://user-images.githubusercontent.com/16187191/180602290-61a58e0f-5a33-4472-9876-fdbce2cfc18b.png) does not show stack info ?

the Paginate(pageSize uint) use uint as param but the TotalEntries() (uint64, error) Count() (uint64, error) used uint64 as the result , is that right ?

SELECT count(1) AS _t FROM `person_info_t` WHERE (id=?) LIMIT 1 why not use SELECT 1 AS _t FROM `person_info_t` WHERE (id=?) LIMIT 1

Update method only return the error , how can i kown the update really effected rows? func (r *Result) Update(values interface{}) error { query, err := r.buildUpdate(values) if err !=...

what is best way to query sth like this using sql query builder (`db.Cond`)? ```sql --- person around 5km select * from person where person.xyz = 13 and ST_Distance(person.location, ST_MakePoint(11.5,...

Hi, As query logging is being run deferred; ```go defer func(start time.Time) { queryLog(&QueryStatus{ TxID: sess.txID, SessID: sess.sessID, Query: query, Err: err, Start: start, End: time.Now(), Context: ctx, }) }(time.Now())...

enhancement
v4

Will it be possible to configure a schema in the ConnectionURL?

Very nice work! I'm regretting not finding you guys 2y ago and and ended up doing something half-way on my own (. I would very like to get rid of...