We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8da9f5 commit 3963b88Copy full SHA for 3963b88
examples/std/dynamic.go
@@ -31,7 +31,7 @@ func DynamicExample() error {
31
return err
32
}
33
34
- if !CheckMinServerVersion(conn, 24, 8, 0) {
+ if !CheckMinServerVersion(conn, 25, 6, 0) {
35
fmt.Print("unsupported clickhouse version for Dynamic type")
36
return nil
37
@@ -41,6 +41,11 @@ func DynamicExample() error {
41
42
43
44
+ _, err = conn.ExecContext(ctx, "SET output_format_native_use_flattened_dynamic_and_json_serialization = 1")
45
+ if err != nil {
46
+ return err
47
+ }
48
+
49
defer func() {
50
conn.Exec("DROP TABLE go_dynamic_example")
51
}()
0 commit comments