Releases: xgfone/go-sqlx
Releases · xgfone/go-sqlx
v0.33.0
v0.32.0
v0.31.0
v0.30.0
- Added:
- Add
Count
functions forSelect
.
- Add
- Enhanced:
- Optimize the
IN
condition building. - Ignore the colulmns that has not bound value when binding a select query to a struct.
- Optimize the
- Changed:
- Remove the deprecated useless function
LogInterceptor
. - Change the field
ID
of theBase
model struct toId
.
- Remove the deprecated useless function
v0.29.1
v0.29.0
- "Added:"
DefaultConfigs
: set ConnMaxIdleTime with3m
.
- Changed:
MaxOpenConns
: use input value instead ofruntime.NumCPU() * 2
when less than 0.
- Other:
- Support the type
op.KeyValue
for the update opop.UpdateOpAdd
,op.UpdateOpSub
,op.UpdateOpMul
,op.UpdateOpDiv
.
- Support the type