Commit Graph

168 Commits

Author SHA1 Message Date
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
xxj
96794856b6 add model
添加model支持
2021-06-02 17:08:57 +08:00
me262
ae72f8d9a3 fix: 修复pkgName == "."时windows下获取包名异常 2021-05-31 17:29:30 +08:00
me262
78defd91d9 fix: 修复table_prefix兼容性 2021-05-31 17:28:30 +08:00
snowlyg
d690c9d109 兼容 gorm 本身 sort 标签 2021-05-25 19:58:29 +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
xxj
3abe0a8b26 add `` 2021-04-14 10:24:14 +08:00
viwii
3b9d9a7d74 替朋友合并mssql 2021-04-11 20:43:51 +08:00
yanjiangtao
8910e45ac6 1.去除埋点代码
--------------
1.Remove buried code
2021-04-06 17:43:18 +08:00
yanjiangtao
02aead9615 1.simple配置为true不输出gorm标签
2.将is_table_name中的column生成单独抽成配置,以免配置的耦合。
3.增加根据表名生成多个model的配置(一个表一个model)
-------------------------------------------
1. Simple is configured as true and does not output Gorm tag
2. Will be_ table_ The column in name generates a separate extraction configuration to avoid the coupling of configuration.
3. Add the configuration of generating multiple models according to the table name (one model for each table)
2021-04-06 17:19:02 +08:00
yanjiangtao
d000eebda5 Perfect annotation and remove redundant information output.
完善注释,去除多余的信息输出
2021-03-30 20:23:40 +08:00
yanjiangtao
d6f49c5cce 增加指定表model生成功能 2021-03-30 18:05:36 +08:00
xxj
8250592b73 new 2021-03-20 13:27:31 +08:00
pengwenwu
0153517cda add config with self_define_type_mysql_dic_map out_file_name web_tag_type 2021-03-19 16:43:55 +08:00
1379Monitor
9cc5158753 fix: fix func comment error
close #121
2021-03-18 16:14:34 +08:00
15ho
5b91e0df74 fix #112 2021-03-17 14:40:58 +08:00
王勇攀
dc8a862255 feat:通过使用--table_prefix 给表名加前缀
使得:
func (obj *_SymbolMgr) GetTableName() string {
 return "symbol"
}
变成:
func (obj *_SymbolMgr) GetTableName() string {
 return "tableprefix.symbol"
}
并在源头确定表名:tableprefix.symbol.
即真正执行mysql语句的时候,会按照tableprefix.symbol这个表名去执行。
2021-03-12 20:12:18 +08:00
Administrator
d1afbd5ab3 修复bug 2021-03-04 23:27:29 +08:00
cuiyaming
845d08585f add json tag lower camel case 2021-03-03 15:24:13 +08:00
xxjwxc
0751bce177 fix ColName 2021-02-27 15:31:46 +08:00
xxj
0e2a3e4553 colname add ``
给导出列名添加``符
2021-02-19 18:03:04 +08:00
xxj
689c8a30d9 add @fk to note
添加外键注解。
2021-02-02 15:16:10 +08:00
xxj
04a1abaed7 fix prefix 2021-01-15 17:05:20 +08:00
pengnanfang
14e0bb177f tablePrefix 2021-01-14 23:05:39 +08:00
xxj
a0b28c4088 add datatypes
添加 datatypes 支持
2021-01-08 14:15:47 +08:00
young
039050f631 fix: old error 2021-01-07 22:43:29 +08:00
young
0c3732eb0f add: now, you can set tablePrefix 2021-01-07 22:35:25 +08:00
fyyang
39f7512c11 Merge pull request #1 from xxjwxc/master
fix HashMap is out of order
2021-01-07 21:35:40 +08:00
xxj
a60ccdc695 fix HashMap is out of order
fix HashMap is out of order
2020-12-28 16:13:39 +08:00
xxj
cf8ff9e416 change fulltext tag 2020-12-23 16:13:41 +08:00
young
acd9861d7f add: INDEX FULLTEXT
add: Default value
2020-12-23 15:48:17 +08:00