Commit Graph

89 Commits

Author SHA1 Message Date
houseme
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
John Guo
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
ccpro
c4a5bc8584
style(test): Unify the indentation format of SQL strings in clickhouse_test (#2277)
style(test): Unify the indentation format of SQL strings
2022-11-10 19:57:15 +08:00
John Guo
8c71d579b5
add command fix and up (#2280) 2022-11-10 19:56:12 +08:00
王哈哈
4f4109cdb6
fix typo for comments (#2268)
* Modify comment syntax error

* Modify comment syntax error
2022-11-07 17:55:49 +08:00
John Guo
ee58255418
move common used tag from packages to package gtag for maintainability (#2256)
* move common used tag from packages to package gtag for maintainability

* move common used tag from packages to package gtag for maintainability

Co-authored-by: houseme <housemecn@gmail.com>
2022-11-07 17:51:37 +08:00
John Guo
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
John Guo
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
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
zaier277
4da469325d
fix gen dao oracle entity bug (#2219)
Co-authored-by: John Guo <john@johng.cn>
2022-10-26 18:37:06 +08:00
zhonghuaxunGM
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
John Guo
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
ccpro
e756f284be
Add test for clickhouse #1815 (#2200) 2022-10-13 20:34:44 +08:00
John Guo
c6a02b850d
fix issue #1934 (#2193) 2022-10-13 19:13:10 +08:00
John Guo
4ebe4233fc
fix issue of OmitEmptyWhere in Builder for package gdb (#2195) 2022-10-12 20:30:47 +08:00
yss930819
b96b5c3f7c
fix: pgsql driver check local type error (#2192) 2022-10-11 19:20:16 +08:00
John Guo
182a393050
package comments and readme update (#2182) 2022-10-09 21:23:55 +08:00
John Guo
6cd84e8276
fix configuration management for package gdb (#2163) 2022-09-30 15:41:51 +08:00
zhonghuaxunGM
cd5bf7c504
Feature/driver-dm fix something is invalid in dm (#2158)
* fix core.hasfield error index out of range & fix GroupConcat is invalid in dm

* add unit test

Co-authored-by: Xu <zhenghao.xu>
2022-09-28 10:02:48 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
HaiLaz
2b4598f65b
fix: pgsql DoExec Transaction checks (#2101)
Co-authored-by: John Guo <john@johng.cn>
2022-09-20 20:29:42 +08:00
marun
43b84f4044
fix clickhouse in function TableFields when configuration using link (#2063) 2022-08-15 20:53:02 +08:00
John Guo
e4c8cfc16b
add interface DB.CheckLocalTypeForField for package gdb (#2059) 2022-08-11 21:47:35 +08:00
HaiLaz
95888e0b77
add last insert id support for pgsql (#1994) 2022-08-09 19:45:05 +08:00
Gin
4ded89d453
improve gdb.CheckValueForLocalType for pgsql (#2040) 2022-08-08 19:56:06 +08:00
John Guo
863bea1ad1
improve field type check from db to golang (#2023) 2022-07-22 16:44:24 +08:00
John Guo
5d51e9fa2c
improve package gerror, add HasCode/HasError function for package gerror (#2006) 2022-07-15 10:49:04 +08:00
John Guo
384fb3c4d5
fix go.sum of package contrib/drivers/pgsql (#1980) 2022-07-07 21:52:21 +08:00
chaggle
afb90b0af3
Feature/pgsql add pgsql unit test (#1853) (#1973) 2022-07-07 21:42:20 +08:00
John Guo
f876a56d2a
some improves for ci yaml and package cmd/gf, database/gdb (#1972) 2022-07-07 21:16:26 +08:00
Gin
59b3f6e962
improve list tables for pgsql (#1790) 2022-07-06 20:05:12 +08:00
HaiLaz
f0511592b5
github.com/glebarez/go-sqlite (#1932) 2022-06-24 16:15:42 +08:00
Daguang
4f37abac6a
upgrade ClickHouse-Go dependencies to V2.0.15 (#1904) 2022-06-13 19:40:47 +08:00
HaiLaz
bd7ec5d0b0
Feature/sqlite ut (#1882) 2022-06-06 19:57:53 +08:00
John Guo
31c5d5a5f5 Merge branch 'master' of https://github.com/gogf/gf into develop 2022-06-01 14:44:11 +08:00
wenzi
ef04c8a09e
Feature/oracle (#1869) 2022-05-25 21:55:27 +08:00
John Guo
04d32e7a91 improve FieldsPrefix for gdb.Model 2022-05-25 16:22:46 +08:00
John Guo
ea79b3cbb8 move package goai from protocol to net 2022-05-24 18:53:10 +08:00
Daguang
8c969b2a84
upgrade ClickHouse dependencies to V2 (#1772) 2022-05-23 21:21:59 +08:00
John Guo
853d7aaf8f fix issue missing mysql driver import for package contrib/drivers/mysql 2022-05-19 15:02:15 +08:00
John Guo
07509e9847 go mod tidy 2022-05-19 10:49:09 +08:00
John Guo
1102de5a66 fix issue in missing mysql import for command gen dao 2022-05-18 20:02:53 +08:00
John Guo
6d33a73617 Merge branch 'master' of https://github.com/gogf/gf 2022-05-18 19:58:25 +08:00
John Guo
3430cf1f17 improve data converting for package gdb, drivers/pgsql 2022-05-18 11:55:09 +08:00
John Guo
49042d480c improve data converting for package gdb, drivers/pgsql 2022-05-18 11:05:05 +08:00
John Guo
b7295a1558
Merge pull request #1843 from wenzi1/feature/mssql
mssql unit test
2022-05-17 21:24:50 +08:00
wenzi1
8e3c66584d add unit test 2022-05-16 22:58:53 +08:00
wenzi1
26d460241d Null in field is error 2022-05-13 23:30:33 +08:00
wenzi1
ede54b392e Merge branch 'master' of https://github.com/wenzi1/gf 2022-05-13 23:13:07 +08:00
John Guo
3a014dcb09 fix issue in UT of mysql sriver 2022-05-13 22:11:44 +08:00