0a76b9c61b
fix invalid UpdatedAt usage in soft deleting feature for package gdb ( #2323 )
2022-11-24 21:23:15 +08:00
38a858d7d3
change result data type of function Count from int to int64 for package gdb ( #2298 )
...
* feat: modify model count value int64
* fix
* fix:modify int64
* fix
2022-11-17 19:47:17 +08:00
73dc8c9c4b
fix cache issue in Count/Value functions for gdb.Model ( #2300 )
...
* add Tag* functions to retreive most commonly used tag value from struct field for package gstructs; use description tag as default value if brief is empty for gcmd.Argument
* fix cache issue in Count/Value functions for gdb.Model
* add more ut case for package gdb
* version updates
2022-11-16 10:04:49 +08:00
91b94878d3
fix used schema not change in nested transaction when used different schemas ( #2279 )
...
* fix used schema not change in nested transaction between different schemas
* up
Co-authored-by: houseme <housemecn@gmail.com >
2022-11-10 09:55:08 +08:00
d37b75442d
feat: modify sql count value int64 ( #2266 )
2022-11-07 17:52:25 +08:00
c4a5b8ca94
fix issue 1915 and repeated link instance key for package gdb ( #2250 )
...
* fix issue #1915
* fix issue in repeated link instance key
* add configuration item Namespace for package gdb
* up
* up
* fix: pgsql list table names (#2255 )
Co-authored-by: Gin <qinyuguang@gmail.com >
2022-11-03 20:22:36 +08:00
ab79134309
add schema name in debug logging content; add master-slave ut case for package gdb ( #2249 )
...
* add schema name in debug logging content; add master-slave ut case for package gdb
* add schema name in debug logging content; add master-slave ut case for package gdb
2022-11-02 21:55:58 +08:00
1793bf0863
add golangci feature to guarantee codes quality ( #2229 )
2022-11-01 20:12:21 +08:00
ce8b536fca
Parse database empty json field to empty object( fix issue 2105 ) ( #2213 )
...
* Parse database empty json field to empty object( fix issue 2105 )
* fix issue #2105
Co-authored-by: Xu <zhenghao.xu>
Co-authored-by: John Guo <john@johng.cn >
2022-10-18 19:13:55 +08:00
1c5fd1a1f7
improve ut cases for package contrib/drivers/mysql ( #2216 )
...
* improve ut cases for package contrib/drivers/mysql
* improve logging for database Open
2022-10-17 15:43:22 +08:00
c6a02b850d
fix issue #1934 ( #2193 )
2022-10-13 19:13:10 +08:00
4ebe4233fc
fix issue of OmitEmptyWhere in Builder for package gdb ( #2195 )
2022-10-12 20:30:47 +08:00
7cb5fbe684
fix issue #1965 ( #2177 )
2022-10-08 21:42:30 +08:00
d7ae5624c8
fix issue #1965 ( #2174 )
...
Co-authored-by: houseme <housemecn@gmail.com >
2022-10-08 19:36:05 +08:00
6cd84e8276
fix configuration management for package gdb ( #2163 )
2022-09-30 15:41:51 +08:00
ceaeceadd9
add local db configuration support for package gdb ( #2161 )
...
* version updates
* add local db configuration support for package gdb
* add local db configuration support for package gdb
* add local db configuration support for package gdb
2022-09-29 11:58:03 +08:00
66aa0c7050
add switch of brief stack for package gerror ( #2153 )
2022-09-27 10:11:33 +08:00
141ca62c6d
feature/v2.2.0 ( #2154 )
2022-09-26 22:11:13 +08:00
c083b333d8
fix field type check for package gdb ( #2086 )
...
* CI updates
* fix field type check for package gdb
2022-08-26 14:30:33 +08:00
e4c8cfc16b
add interface DB.CheckLocalTypeForField for package gdb ( #2059 )
2022-08-11 21:47:35 +08:00
4ded89d453
improve gdb.CheckValueForLocalType for pgsql ( #2040 )
2022-08-08 19:56:06 +08:00
9df0a9da0a
fix issue #1648 ( #2033 )
2022-07-28 10:11:15 +08:00
863bea1ad1
improve field type check from db to golang ( #2023 )
2022-07-22 16:44:24 +08:00
675ae9bade
fix concurrent safety for package gdb ( #1998 )
2022-07-12 21:26:18 +08:00
3e7e8ba6f2
fix(gdb): panic when concurrent db config map read and write. ( #1997 )
2022-07-12 19:31:22 +08:00
f876a56d2a
some improves for ci yaml and package cmd/gf, database/gdb ( #1972 )
2022-07-07 21:16:26 +08:00
13fc0cb9eb
feat: pgsql 字段类型 支持 数组类型 ( #1881 )
2022-07-06 21:06:20 +08:00
80442efe94
redis add sentinel slaveOnly filed ( #1948 )
2022-07-06 19:54:36 +08:00
19779cd342
Fix multiple gdb-group overrides ( #1890 )
...
Co-authored-by: longl <longlei@dealmap.cloud >
2022-06-23 21:30:29 +08:00
1b327b8abd
improve database configuration parsing for package gins/gdb
2022-06-20 12:07:51 +08:00
1597291ac3
improve configuration parsing for package gdb
2022-06-17 15:35:55 +08:00
cbf5ee9649
go fmt -w
2022-06-16 18:02:51 +08:00
8ac177a6de
improve UT for package gredis
2022-06-16 17:41:15 +08:00
4505d61604
improve WhereBuilder feature for package gdb
2022-05-25 21:52:08 +08:00
04d32e7a91
improve FieldsPrefix for gdb.Model
2022-05-25 16:22:46 +08:00
6a01275499
improve data converting for package gdb
2022-05-19 21:44:53 +08:00
7753fc6fe1
improve error message for package gdb
2022-05-19 17:27:13 +08:00
3430cf1f17
improve data converting for package gdb, drivers/pgsql
2022-05-18 11:55:09 +08:00
4556dda038
improve data converting for package gdb, drivers/pgsql
2022-05-18 11:16:25 +08:00
49042d480c
improve data converting for package gdb, drivers/pgsql
2022-05-18 11:05:05 +08:00
6cf6414da2
improve package gdb
2022-05-10 16:31:56 +08:00
dc6a9237d7
move ut cases from package gdb to contrib/drivers/mysql
2022-05-10 15:38:08 +08:00
583d576cdb
remove octal number converting for gconv.Int*/Uint* functions; fix issue #1733
2022-05-09 21:26:42 +08:00
3db97ba0dd
fix issue #1714 , #1727
2022-05-09 20:42:41 +08:00
e81d6a859b
Merge pull request #1729 from WesleyWu/fix#1714
...
fix timezone bug when persisting *gtime.Time to db #1714
2022-05-09 20:28:00 +08:00
534abb7f17
improve hook feature for package gdb
2022-05-09 14:22:28 +08:00
03ad6a5728
remove debug info for UT of package gdb
2022-05-07 17:50:49 +08:00
c90f91dcbe
remove Sharding feature
2022-05-07 16:38:17 +08:00
5332ce4c79
improve WhereBuilder feature for package gdb
2022-05-07 15:11:31 +08:00
eaae7f46d2
improve WhereBuilder feature for package gdb
2022-05-07 14:26:56 +08:00