feat: adds no cache case
This commit is contained in:
parent
e74f7cd6ab
commit
a170355f94
1 changed files with 4 additions and 1 deletions
|
|
@ -258,7 +258,10 @@ class KuzuAdapter(GraphDBInterface):
|
||||||
if self.open_connections == 0:
|
if self.open_connections == 0:
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
else:
|
||||||
|
result = await loop.run_in_executor(self.executor, blocking_query)
|
||||||
|
return result
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
if self.connection:
|
if self.connection:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue