bec98e8de0
fix(database/gdb): clickhouse can not support int128/int256/uint128/uint256 ( #4370 )
...
When use clickhouse and use field type int128/int256/uint128/uint256. It
can not work well and it will return 0 value.
Add the new field types to let it work well.
By the way, the data struct field need be set to big.Int when use the
types.
2025-08-22 22:05:15 +08:00
656ae070da
fix(cmd/gf): fix gen sharding dao in multiple shardingPattern tables … ( #4379 )
...
fix #4378
fix #4330
---------
Co-authored-by: hailaz <739476267@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-22 16:46:23 +08:00
dfe088f5cd
refactor(util/gconv): add Converter feature for more flexable and extensible type converting ( #4107 )
2025-03-06 23:04:26 +08:00
3090fe7f4e
fix(database/gdb): recognize tinyint(1)/int(1) as bool ( #3943 )
2024-11-20 20:21:33 +08:00
6baf4338b0
fix(database/gdb): recognize field type tinyint(1) to golang type bool ( #3921 )
2024-11-13 23:09:01 +08:00
3f2b1cb329
feat(database/gdb): add year field type support for ORM operations ( #3805 )
2024-09-25 16:33:52 +08:00
bb9a3b83eb
feat(database/gdb): add time field type for value converting for/from field ( #3712 )
2024-09-10 17:51:22 +08:00
753965b9a9
example: password encrypt-decrypt for database using custom implement driver ( #3610 )
2024-06-04 22:04:36 +08:00
17385eeaef
database/gdb: fix confusing error message in Insert/Update operations when table not exist or the table contains no fields ( #3553 )
2024-05-22 21:26:53 +08:00
2acdf4bb47
add field type detection for soft time field like created_at/updated_at/deleted_at to support unix timestamp or bool deleting table field ( #3293 )
2024-02-06 10:21:23 +08:00
645c5ff5b5
fix issue #3218 #3204 ( #3220 )
2023-12-19 21:58:12 +08:00
44819b135e
fix issue #3204 ( #3212 )
2023-12-18 20:19:18 +08:00
b9e2b05f04
change interface ConvertDataForRecord to ConvertValueForField for package gdb ( #2916 )
2023-09-04 21:23:54 +08:00
70d0d20750
fix issue in converting value to nil when calling IsNil return ture for gdb.Core ( #2720 )
2023-06-28 22:06:51 +08:00
22696566d6
add type mapping feature for command gf gen dao ( #2722 )
2023-06-28 10:06:33 +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
863bea1ad1
improve field type check from db to golang ( #2023 )
2022-07-22 16:44:24 +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
6a01275499
improve data converting for package gdb
2022-05-19 21:44:53 +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
7812f41b43
fix issue #1219
2022-02-17 23:04:50 +08:00
37c6320dd7
fix issue #1530
2022-02-15 23:04:37 +08:00
b79e4a3ab7
add interface function ConvertDataForRecord for gdb.DB
2021-12-23 22:00:28 +08:00
44089d70d4
Merge branch 'master' of https://github.com/gogf/gf into feature/v2-gerror
2021-12-22 18:28:04 +08:00
aabc1f8322
fix issue in time maintaining feature for package gdb
2021-12-22 17:42:26 +08:00
ce93b625d4
change errors wrapped by gerror.Wrap with error stack info for all packages
2021-12-21 22:59:14 +08:00
5073413ffc
improve TableFields feature for package gdb
2021-11-27 12:59:41 +08:00
c6efb5ee3b
[feature] improve code range map
2021-11-16 17:21:13 +08:00
be03b3cdda
Improved import, by group improt.
2021-11-13 23:23:55 +08:00
1188793f8f
automatically add column prefix for where conditions
2021-10-29 16:57:56 +08:00
1bc0635f8b
version 2
2021-10-11 21:41:56 +08:00
dd4e08e88d
refract package gdb; add selected & affected count to logging
2021-09-29 20:39:02 +08:00
392c81ad69
remove Link parameter from function TableFields for package gdb
2021-05-29 17:26:08 +08:00
211e62a8e7
add timestamptz type support for pgsql for package gdb
2021-05-24 13:30:04 +08:00
4e41d8aff8
improve context and nested transaction feature for package gdb
2021-05-21 13:25:53 +08:00
a3b94c24de
fix issue #854 ; add maxIdleTime configuration and comments update for package gdb; version updates
2021-04-04 12:01:22 +08:00
acf47f3907
orm with feature
2021-02-08 17:57:21 +08:00
7bc42e6eaa
improve Fields filtering for package gdb
2021-01-04 19:46:46 +08:00
4d962c5aa5
improve packge gdb for treat int8 as int64 for pgsql
2021-01-03 23:44:44 +08:00
7316e6648f
change errors to gerror; update copyright in comment
2020-12-09 16:04:29 +08:00
cabf684ec9
add context feature for package gdb
2020-11-29 23:47:57 +08:00
3485ba2a5d
improve package gtime
2020-11-26 22:40:55 +08:00
dd5cd31ef5
add automatic data key to field name mapping feature for package gdb
2020-10-17 18:16:13 +08:00