199 Commits

Author SHA1 Message Date
5266255f35 store 2024-02-21 17:39:53 +08:00
xxj
3dea08f1e4 add autoIncrement 2022-07-06 18:41:33 +08:00
xxj
fc112a736b add autoIncrement:true
autoIncrement:true
2022-07-05 20:36:45 +08:00
xxj
aa53e84c49 1 2022-07-05 20:35:17 +08:00
xxjwxc
f47811a170 Merge branch 'master' of https://github.com/xxjwxc/gormt 2022-06-22 23:15:41 +08:00
xxjwxc
4e95ccbf21 Update def.go 2022-06-22 23:15:30 +08:00
rellopn
66a8154250 support custom fuzzy regular matching
支持模糊匹配自定义类型
2022-06-21 17:11:41 +08:00
xxj
ba9821f5be Merge branch 'master' of https://github.com/xxjwxc/gormt 2022-06-15 20:21:36 +08:00
xxj
dcf37c3802 add commit 2022-06-15 20:21:34 +08:00
xxjwxc
11d9a6a6fa fix 211 2022-05-11 23:19:25 +08:00
陈朱衡
f015601f3d feat: deleted at 增加软删支持 2022-03-22 19:15:30 +08:00
jiang4869
3e27119ceb 增加把default null类型字段设置为sql.NullXXX类型 2022-03-05 21:21:35 +08:00
xxj
b8cbd4fb30 Update def.go 2022-02-09 15:57:41 +08:00
bin.han
e677f6b83c 主键唯一的字段使用First函数查询 2022-02-09 11:27:00 +08:00
xxj
7aa3ced5f8 注释换行符 2022-01-18 20:48:54 +08:00
xxj
d744f25b88 Update model.go 2022-01-17 16:58:03 +08:00
jiang4869
42c3c9c140 当字段默认值为NULL,并且结构不设置为指针时,添加default:null的tag 2022-01-10 01:03:35 +08:00
jiang4869
819706ee2b 修改类名,增加链式调用 2022-01-07 16:43:47 +08:00
jiang4869
8fe4d6f8b3 把obj改成obj... 2022-01-07 00:21:02 +08:00
jiang4869
deb37930bd 给自定义SQL增加了根据条件判断是否生成的功能 2022-01-06 23:38:48 +08:00
方程
05b03752d0 Update common.go
当表字段类型为datetime或者date并且默认为NULL时,在结构中需要设置成指针类型
2022-01-06 20:07:21 +08:00
jiang4869
dbd29c8ecc 完善分页开关 2022-01-04 18:47:31 +08:00
xxj
1278831995 添加page 开关 2022-01-04 18:16:08 +08:00
jiang4869
b056057690 修复了当字段类型为bool或者string类型并且默认值为NULL时,在结构中没有被设置成指针类型的问题 2022-01-04 17:42:13 +08:00
jiang4869
a0908b00bc 增加了对分页查询的支持 2022-01-04 17:28:11 +08:00
xxj
a1743973d0 Merge pull request #183 from DowneyL/fix-136
fix:136
2022-01-04 15:32:41 +08:00
jiang4869
d371cfed63 修复了当表字段类型为datetime或者time并且默认为NULL时,在结构中没有被设置成指针类型的问题 2022-01-04 10:14:09 +08:00
DowneyL
91d0a9b24a fix:136 2021-12-24 16:31:13 +08:00
xxj
dff30a5651 Merge pull request #179 from redbirdztc/feature-use-gorm-model-or-not
feature: model是否使用gorm.Model
2021-12-08 19:05:42 +08:00
zhang.tiancheng
5d1bfbad59 feature: model是否使用gorm.Model 2021-12-08 17:03:34 +08:00
15ho
82895f7fcf fix #170 2021-12-08 14:48:33 +08:00
15ho
d84ea1a50d fix TestCondition 2021-12-08 13:10:29 +08:00
Swmiao1
f93dab81de mssql 参数类型
在排序依据列表中多次指定了某一列。排序依据列表中的列必须是唯一的
2021-11-30 15:56:02 +08:00
Swmiao1
8ced43d998 mssql 参数类型
在排序依据列表中多次指定了某一列。排序依据列表中的列必须是唯一的
2021-11-30 15:53:06 +08:00
xxj
206de7b046 add Reset support
添加重置会话函数Reset
2021-09-29 21:22:23 +08:00
xxj
00b9b81163 add newDB
添加newdb
2021-09-29 21:14:14 +08:00
lei.zhang
e095784bba fix:let smallint into int16 2021-09-10 12:44:42 +08:00
windha
6ae0bf4026 修复自定义查询 in 查询bug 2021-09-09 17:13:34 +08:00
xxj
f2cf2eac9c fix db_tag 2021-08-26 21:06:49 +08:00
xxj
a235233956 Merge branch 'master' of https://github.com/xxjwxc/gormt 2021-08-26 20:51:06 +08:00
xxj
575a045275 Update def.go 2021-08-26 20:51:02 +08:00
zsinx
896e1d498b add config with is_db_tag 2021-08-25 12:55:30 +08:00
xxj
4ffb3e8ac3 new 2021-08-05 12:28:15 +08:00
windha
83fd5c0f91 修改condetion 拼写错误,改成condition 2021-08-04 12:08:33 +08:00
circlemono
c53474ab33 中文全角空格问题! 2021-07-20 17:37:59 +08:00
ly258liuyue
d11a1d722e fix model colname error
修复gorm.model 导出问题
2021-07-20 11:43:25 +08:00
xxj
ea70e9c6ba 修改 model=>table 2021-07-02 18:10:32 +08:00
xxj
c7c5eed4d3 Merge branch 'master' of https://github.com/xxjwxc/gormt 2021-06-13 21:56:36 +08:00
xxj
e3e175313e nwe 2021-06-13 21:55:36 +08:00
changle
824d25fb3a fix: fix misspell word primary 2021-06-08 11:30:56 +08:00