Hi, I am in the process of porting the logic inside CypherNeo4jStore to C#. While going through the code and when __flushBuffer is called, I see self.bufferActualSize is being reset to 0:
def __flushBuffer(self):
assert self.__open, "The Store must be open."
for key in self.queryBuffer.keys():
try:
self.session.run(self.queryBuffer[key], params = self.paramBuffer[key])
except TypeError:
print("query:",self.queryBuffer[key],"params:",self.paramBuffer[key])
self.bufferActualSize = 0
but I also expected that self.paramBuffer to be reset as well (and perhaps self.queryBuffer too). Or am I missing something?
Hi @bkiers, thank you for asking. From last year we moved the whole syntax and we offer the code in this repo as a python library. Let us know if you need any help!
Hi, I am in the process of porting the logic inside
CypherNeo4jStore
to C#. While going through the code and when__flushBuffer
is called, I seeself.bufferActualSize
is being reset to0
:but I also expected that
self.paramBuffer
to be reset as well (and perhapsself.queryBuffer
too). Or am I missing something?