File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,25 @@ Array KuzuGD::get_config() const {
112
112
return config_array;
113
113
}
114
114
115
+ /* *****************************************************************
116
+
117
+
118
+ Management Functions
119
+
120
+
121
+ ******************************************************************/
122
+
123
+ // Set the query timeout value in milliseconds for the connection
124
+ bool KuzuGD::query_timeout (int timeout_millis) {
125
+ return kuzu_connection_set_query_timeout (dbConnection, timeout_millis);
126
+ }
127
+
128
+ // Interrupt the Current Query Execution
129
+ void KuzuGD::interrupt_connection () {
130
+ kuzu_connection_interrupt (dbConnection);
131
+ return ;
132
+ }
133
+
115
134
/* *****************************************************************
116
135
117
136
Original file line number Diff line number Diff line change @@ -82,6 +82,15 @@ class KuzuGD : public Node {
82
82
83
83
Array get_config () const ;
84
84
85
+ /* *******************************************
86
+
87
+ Management Functions
88
+
89
+ ********************************************/
90
+
91
+ bool query_timeout (int timeout_millis);
92
+ void interrupt_connection ();
93
+
85
94
/* *******************************************
86
95
87
96
Initialization
You can’t perform that action at this time.
0 commit comments