vesoft-inc / nebula-python

Client API of Nebula Graph in Python
194 stars 76 forks source link

请问我用python执行 session.execute(cmd) 有没有办法看出来是否执行成功呢? #220

Closed tyn513 closed 2 years ago

tyn513 commented 2 years ago

请问我用python执行 session.execute(cmd) 有没有办法看出来是否执行成功呢? python执行后一点提示都没有,都不知道执行的情况。py2neo会直接报错

Is there any way to see if I executed session.execute(CMD) in Python? Python executes without any hint of what's going on. Py2neo will simply report an error

wey-gu commented 2 years ago

执行的返回是一个 resultSet 里边有执行的结果哈,出错也有error code 的

wey-gu commented 2 years ago

closing it