Releases: xgfone/go-sqlx
Releases · xgfone/go-sqlx
v0.26.1
v0.26.0
- Added:
- Add the support of
op.Condition
andop.Setter
.
- Add the support of
- Changed:
- Refactor the interceptor
Interceptor
. - Remove the interfaces
Executor
,ColumnSetter
andColumnCondition
. - Remove the functions
ColumnsContain
,ConditionsContain
. - Remove the methods
SetExecutor
,SetInterceptor
andSetDialect
from the buildersTableBuilder
,InsertBuilder
,DeleteBuilder
,UpdateBuilder
andSelectBuilder
.
- Refactor the interceptor
v0.25.0
v0.24.0
v0.23.1
v0.23.0
- Added:
- Add the method
SetFormat
forTime
to support to set the format layout. - Support to set
DB
:Table
,TableBuilder
,InsertBuilder
,DeleteBuilder
,UpdateBuilder
,SelectBuilder
.
- Add the method
- Changed:
- Remove the field
SelectBuilder
fromRow
andRows
, and useColumns
instead. - Remove the methods
QueryRaw
,QueryRawContext
,QueryRowRaw
andQueryRowRawContext
fromSelectBuilder
. - Remove the methods
SetMore
andSetMoreNamedArg
fromUpdateBuilder
, and useSet
andSetNamedArg
instead. - Remove the methods
Get
andSet
fromTime
. - Remove the type
Bool
.
- Remove the field
v0.22.2
v0.22.1
v0.22.0
- Added:
- Add the raw sql query for
SelectBuilder
.
- Add the raw sql query for
- Changed:
- Rename the fields of the type
Colunm
and use the methodFullname
instead ofName
. - Rename the method
Build
of the interfaceCondition
toBuildCondition
. - Rename the method
Build
of the interfaceBuildSetter
toSetter
.
- Rename the fields of the type
- Removed:
- Remove the named argument, such as
NamedArg
,NamedArgs
, etc. - Remove the interface
Valuer
.
- Remove the named argument, such as
- Others:
- Allow to set the same table name repeatedly.
- Optimize the alias of the table and column.