예제 #1
0
def process_leader_changed(sess: Session, stmt: str):
    return sess.execute(stmt)
예제 #2
0
def process_leader_changed(sess: Session, stmt: str):
    return sess.execute_parameter(stmt, params)
예제 #3
0
def try_execute(sess: Session, stmt: str):
    return sess.execute(stmt)
예제 #4
0
def try_execute(sess: Session, stmt: str):
    return sess.execute_parameter(stmt, params)