38 Commits

Author SHA1 Message Date
5266255f35 store 2024-02-21 17:39:53 +08:00
15ho
82895f7fcf fix #170 2021-12-08 14:48:33 +08:00
Swmiao1
f93dab81de mssql 参数类型
在排序依据列表中多次指定了某一列。排序依据列表中的列必须是唯一的
2021-11-30 15:56:02 +08:00
Swmiao1
8ced43d998 mssql 参数类型
在排序依据列表中多次指定了某一列。排序依据列表中的列必须是唯一的
2021-11-30 15:53:06 +08:00
lei.zhang
e095784bba fix:let smallint into int16 2021-09-10 12:44:42 +08:00
snowlyg
cddebd902f add mediumint type 2021-05-25 15:21:35 +08:00
jianjun
c024b878e9 Update def.go
add geometry for mysql 5.7
2021-05-17 15:32:02 +08:00
15ho
5b91e0df74 fix #112 2021-03-17 14:40:58 +08:00
xxj
a0b28c4088 add datatypes
添加 datatypes 支持
2021-01-08 14:15:47 +08:00
xxj
a60ccdc695 fix HashMap is out of order
fix HashMap is out of order
2020-12-28 16:13:39 +08:00
quhao
bf482f9f91 增加"double unsigned"类型 2020-11-18 11:09:05 +08:00
谢小军
33d22fe2d4 new
gorm v2 support
2020-09-24 20:44:15 +08:00
谢小军
a70ab3ff83 new 2020-09-24 17:40:32 +08:00
lubin
6c7b80dc92 Update def.go
`^(float)[(]\d+,\d+[)]`:          "float64",
	`^(float)[(]\d+,\d+[)] unsigned`: "float64",

One of these two lines of code doesn't work

我在这四行代码加了$. 这样就可以避免其它bug。
2020-09-23 02:03:20 +08:00
谢小军
36b6de2a7b support sqlite
支持sqlite
2020-09-22 19:23:36 +08:00
lubin
75475dfa6f fix bug for tinyint(8) unsigned
When I used this tool to generate files, I found that even if the table structure did not change, the generated files would change. After debugging. Finding the configuration here will cause the program to find two keys randomly. The original code might have tinyint (8) unsigned randomly match int8 or Unit8. Put the unsigned one to the front, and then test it. This problem will not happen again.
2020-09-22 12:01:31 +08:00
谢小军
285caffe7a Update def.go 2020-08-25 19:09:46 +08:00
谢小军
0706dd0747 add 'DEFAULT NULL' to point
添加默认值为null 转换成指针类型
2020-06-23 12:10:08 +08:00
xxjwxc
50d7b764b6 open default globalIsRelated
设置默认全局预加载为true
2020-06-07 21:09:11 +08:00
谢小军
ef08ccd2ee change tinyint(1) to bool
change tinyint(1) to bool
2020-05-27 18:10:37 +08:00
谢小军
a3901e56d2 Filter keywords
过滤关键字
2020-05-11 15:16:24 +08:00
lijunlong
b9942453a3 support blob
first char lowcase in arg
2020-04-21 15:16:00 +08:00
xxjwxc
6271a320f5 Update def.go 2020-04-04 19:15:44 +08:00
xxjwxc
a327605fb2 more type support
binary(n),tinyint(n) unsigned support.
2020-04-04 19:12:14 +08:00
zilinyo
3e9ca8e8eb Update def.go 2020-02-29 23:03:17 +08:00
xxjwxc
ce3904575d fix 2020-02-29 00:19:25 +08:00
xxjwxc
d7c76feba6 Merge branch 'master' of https://github.com/LLLLancelot/gormt into LLLLancelot-master 2020-02-28 22:48:56 +08:00
谢小军
bfb54391ac add tinyint support
add tinyint support
2020-02-28 20:28:15 +08:00
LLLLancelot
9e60d56227 增加新特性,并修复一些问题 2020-02-28 04:03:08 +08:00
倒霉狐狸
7f8f3a266f tinyint等类型bool->int8
tinyint等类型应当转换为int8,bool类型会涉及false零值导致差异更新数据时增加复杂度
2020-01-17 11:57:44 +08:00
倒霉狐狸
726f16d5eb mysql 支持 enum枚举类型 2020-01-17 11:43:13 +08:00
谢小军
204164e8b9 day day up 2020-01-08 20:21:30 +08:00
zilinyo
d086e13349 Update def.go
添加数据类型
2019-12-10 16:32:07 +08:00
谢小军
b454eb944f revew code 2019-11-29 19:05:51 +08:00
谢小军
5cd0ac62ae re check 2019-11-27 18:11:05 +08:00
谢小军
9617450e6b review smallint and tinyint 2019-11-07 16:20:13 +08:00
游浩
64847fa68e 添加smallint(6)类型
添加smallint(6)类型
2019-11-07 16:02:54 +08:00
谢小军
ee2e02092a Restructure
重构
2019-09-30 18:25:22 +08:00