- Support
Open tracing
. - Change default collation to
latin1
forcurrency.Unit
andlanguage.Tag
for better performance. - Support
JSON_SET
,JSON_REPLACE
,JSON_REMOVE
or else. - Support
sqldump
. -
StructMapper
as an interface and enable to set inClient
object. - Change
StructField
tointerface{}
. - Support index with files instead of single file (index.yaml).
-
Codec
as an interface and enable to set inClient
object. - Support unmarshal map key using
TextUnmarshaler
interface. - Support
Point
. - Support
LineString
. - Support
primary_key
tag. - Change
DataType
api. -
CreateDatabase
api. - Escape wildcard
%
,_
onLIKE
condition. - Add
Database
name astable
prefix. - Add
Field
api. - Allow nil on where conditions, skip it if
nil
or invalid. - Support auto build index.
- Expression
In
andNotIn
. - Cursor pagination using
Paginate
api. - Support aggregate functions
Max
,Min
,Count
,Avg
,Sum
. - Connect to
MySQL
server withoptions.Connect
. - Support omit options on
InsertOne
andInsert
. - Change default primary key with
SetPrimaryKey
. - Support extra options like
charset
andcollation
in connection. - Get
MySQL
server version. - Drop selected
Database
. - Support omit options on
ModifyOne
. - List all
Database
. - Support
Tag
such asauto_increment
,charset
,size
,unsigned
,enum
,longtext
,generated_column
,virtual_column
,stored_column
. - 💡 Truncate selected
Table
. - 💡 List all column for selected
Table
. - Add index using
CreateOne
andCreateMany
. - 💡 Drop selected
Table
. - 💡 Rename
Table
. - 💡 Check
Table
exists. - 💡 Create single
Index
(supportunique
,fulltext
andspatial
). - 💡 Support primary key on
Migration
. - 💡 Create multiple
Index
. - 💡 List all
Index
. - 💡 Drop selected
Index
. - 💡
Transaction
support. - 💡 Add timeout for
Transaction
. - 🐛 Virtual column sequence in
ALTER TABLE
. - Support custom type
Key
. - Support custom type
Date
. - 💡 Create
Logger
. - 💡 Custom
JSON
encoder (w/o coverMap
datatype). - Custom
JSON
decoder. - 🐛
UnmarshalJSONB
into[]byte
. - 💡 Single database
Migration
. - 💡 Support
generated_column
forMigration
(virtual_column
or stored_column`) - Support
UnsafeMigrate
. - Support
MustUnsafeMigrate
. - 💡
InsertIgnore
&Upsert
. - Set omit or setter fields on
Upsert
. - Insert single record into
Table
. - Insert multiple record into
Table
. - Retrieve single record from
Table
. - Retrieve multiple record from
Table
. - Update single record.
- Modify single record using primary key.
- Update multiple record.
- Delete single record using primary key.
- Delete multiple record.
- Delete single record.
- Replace into API.
- Support option tag
unique_index
with create table. - Support option tag
unique_index
with alter table. - Support
charset
andcollate
onConnect
andCreateDatabase
. - 🐛 (jsonb) Support nested
json.RawMessage
unmarshal. - Support comment.
- Support spatial
Polygon
. - Support
charset
andcollate
onAlterTable
. - BeforeSave and AfterLoad hook.
- Support migration like
django
. - Comprehensive
testcase
. - Support insert with map.
- Support foreign key.
- Support multiple tag (reflext).
- Support proxy mode for master-slave topology.
- Support any of index.
- Support skip locked.
- [BREAKING CHANGE] collate should reside in charset package.