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
b299f350be
chore: add comments ( #1345 )
3 years ago
yedf2
6aba5f74fc
feat: add NewSessionFromTx to interact with other orm ( #1202 )
...
Co-authored-by: yedongfu <dongfuye@163.com>
3 years ago
Kevin Wan
785d100be9
feat: slow threshold customizable in sqlx ( #1188 )
3 years ago
Kevin Wan
f070d447ef
refactor for better error reporting on sql error ( #1016 )
...
* refactor for better error reporting on sql error
* fix errors
* add docs
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 Wan
5b22823018
fix bug that empty query in transaction ( #801 )
3 years ago
Kevin Wan
aaa3623404
optimize nested conditional ( #709 )
3 years ago
Kevin Wan
aaa39e17a3
print entire sql statements in logx if necessary ( #704 )
4 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
Kevin Wan
bd623aaac3
support postgresql ( #583 )
...
support postgresql
4 years ago
Kevin Wan
c566b5ff82
fix golint issues in core/stores ( #527 )
4 years ago
Kevin Wan
03b5fd4a10
fix golint issues ( #458 )
4 years ago
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
Kevin Wan
8e889d694d
add more tests for sqlx ( #442 )
...
* add more tests for sqlx
* add more tests for sqlx
4 years ago
Kevin Wan
c282bb1d86
add more tests for sqlx ( #440 )
4 years ago
kevin
8115a0932e
add more tests
4 years ago
kevin
173b347c90
add more tests
4 years ago
kevin
6749c5b94a
add more tests
4 years ago
kevin
0a7e0cce77
update package reference
4 years ago
kevin
7e3a369a8f
initial import
4 years ago