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 {
112112 return config_array;
113113}
114114
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+
115134/* *****************************************************************
116135
117136
Original file line number Diff line number Diff line change @@ -82,6 +82,15 @@ class KuzuGD : public Node {
8282
8383 Array get_config () const ;
8484
85+ /* *******************************************
86+
87+ Management Functions
88+
89+ ********************************************/
90+
91+ bool query_timeout (int timeout_millis);
92+ void interrupt_connection ();
93+
8594 /* *******************************************
8695
8796 Initialization
You can’t perform that action at this time.
0 commit comments