This repository was archived by the owner on Jun 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,19 @@ import "github.com/ClickHouse/clickhouse-go/v2/lib/chcol"
22
22
// Re-export chcol types/funcs to top level clickhouse package
23
23
24
24
type (
25
+ // Variant represents a ClickHouse Variant type that can hold multiple possible types
25
26
Variant = chcol.Variant
27
+ // Dynamic is an alias for the Variant type
26
28
Dynamic = chcol.Dynamic
27
- JSON = chcol.JSON
29
+ // JSON represents a ClickHouse JSON type that can hold multiple possible types
30
+ JSON = chcol.JSON
28
31
29
- JSONSerializer = chcol.JSONSerializer
32
+ // JSONSerializer interface allows a struct to be manually converted to an optimized JSON structure instead of relying
33
+ // on recursive reflection.
34
+ // Note that the struct must be a pointer in order for the interface to be matched, reflection will be used otherwise.
35
+ JSONSerializer = chcol.JSONSerializer
36
+ // JSONDeserializer interface allows a struct to load its data from an optimized JSON structure instead of relying
37
+ // on recursive reflection to set its fields.
30
38
JSONDeserializer = chcol.JSONDeserializer
31
39
)
32
40
You can’t perform that action at this time.
0 commit comments