58 Commits

Author SHA1 Message Date
5266255f35 store 2024-02-21 17:39:53 +08:00
xxjwxc
4e95ccbf21 Update def.go 2022-06-22 23:15:30 +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
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
jiang4869
dbd29c8ecc 完善分页开关 2022-01-04 18:47:31 +08:00
jiang4869
a0908b00bc 增加了对分页查询的支持 2022-01-04 17:28:11 +08:00
15ho
d84ea1a50d fix TestCondition 2021-12-08 13:10:29 +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
windha
6ae0bf4026 修复自定义查询 in 查询bug 2021-09-09 17:13:34 +08:00
xxj
575a045275 Update def.go 2021-08-26 20:51:02 +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
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
xxj
3abe0a8b26 add `` 2021-04-14 10:24:14 +08:00
1379Monitor
9cc5158753 fix: fix func comment error
close #121
2021-03-18 16:14:34 +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
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
bceb63b951 add column support
支持列名导出
2020-12-09 12:53:59 +08:00
xxj
cfb3d5edde remove WithConditions
移除 WithConditions
2020-11-30 14:12:18 +08:00
xxj
dc650df60f new 2020-11-27 16:23:07 +08:00
谢小军
946a52bbb7 case WithContext into db 2020-09-28 19:45:40 +08:00
谢小军
3f69668934 add gorm v2 tools 2020-09-28 14:51:27 +08:00
谢小军
ef185ecb97 add func withcontext
添加 WithContext() 支持
2020-09-27 16:48:02 +08:00
谢小军
f585a627c1 gorm v2.0
支持gormv2.0
2020-09-24 20:59:50 +08:00
谢小军
33d22fe2d4 new
gorm v2 support
2020-09-24 20:44:15 +08:00
xxjwxc
b709ca0259 Update def.go 2020-08-05 22:41:55 +08:00
xxjwxc
949c2d0eba add gorm.ErrRecordNotFound
添加快捷函数未找到处理逻辑
2020-08-05 22:20:27 +08:00
xxjwxc
e83df3655b add table name
添加默认表名
2020-07-28 00:16:31 +08:00
谢小军
3b9ca78b82 fix index function output
修复mysql索引导出函数不准确问题。
2020-06-08 19:21:25 +08:00
xxjwxc
50d7b764b6 open default globalIsRelated
设置默认全局预加载为true
2020-06-07 21:09:11 +08:00
谢小军
349b8297e2 update template
更新模板
2020-06-05 22:25:29 +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
wclssdn
5983be1614 Merge branch 'master' into master 2020-04-06 17:09:38 +08:00
Nemo
034506e602 sort tables by name
fix typo
2020-04-06 17:05:34 +08:00
LLLLancelot
9e60d56227 增加新特性,并修复一些问题 2020-02-28 04:03:08 +08:00
谢小军
8973c30be3 Update genfunc_test.go 2020-01-12 21:59:34 +08:00
谢小军
69a5d93269 update readme 2020-01-12 21:55:59 +08:00
谢小军
2211c3ca5d add export func reame
添加函数支持
2020-01-12 21:41:47 +08:00
谢小军
3156708f37 更新model 2020-01-11 23:15:39 +08:00