Commit Graph

9 Commits (619e838513b2a47bed74cfe71f46d250175eca42)

Author SHA1 Message Date
Kevin Wan abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go (#3607) 1 year ago
Kevin Wan bff5b81ad9
feat: support using session to execute statements in transaction (#3252) 2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan 607bae27fa
feat: support ctx in sqlx/sqlc, listed in ROADMAP (#1535)
* feat: support ctx in sqlx/sqlc

* chore: update roadmap

* fix: context.Canceled should be acceptable

* use %w to wrap errors

* chore: remove unused vars
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan f6d9e19ecb
expose sql.DB to let orm operate on it (#1015)
* expose sql.DB to let orm operate on it

* add missing RawDB methods

* add NewSqlConnFromDB for cooperate with dtm
3 years ago
kevin 8115a0932e add more tests 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago