You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`query_stable` and `query_stable_v2` accept the same parameters just like the `clickhouse-local` command line tool. You can check `queryToBuffer` function in [LocalChdb.cpp](programs/local/LocalChdb.cpp) as an example.
66
+
67
+
The difference is that `query_stable_v2` adds the `char * error_message` field.
68
+
You can check if the `error_message` field is `NULL` to determine if an error occurred.
69
+
70
+
#### Free Result
71
+
`free_result` and `free_result_v2` are used to free the `local_result` and `local_result_v2` memory. For GC languages, you can call `free_result` or `free_result_v2` in the destructor of the object.
72
+
73
+
#### Known Issues
74
+
75
+
- By chDB v1.2.0, the `query_stable_v2``
76
+
returns nil if the query(eg. CREATE TABLE) successes but returns no data. We will change this behavior in the future.
77
+
78
+
20
79
### Need Help?
21
80
If you have already developed bindings for a language not listed above,
0 commit comments