def on_open(item, params):
print("on_open")
# raise Exception("on_open")
def on_before_open(item, query, params, connection):
print("on_before_open")
# raise Exception("on_before_open")
def on_after_apply_record(item, delta, params, connection):
print("on_after_apply_record")
# raise Exception("on_after_apply_record")
def on_after_open(item, query, params, connection, dataset):
print("on_after_open")
# raise Exception("on_after_open")
I expected these to print on the server console, when they are called,
but this is not happening.
I know on_open() is depriciated.
To me it looks like the code on the server is never called.
I have tried restarting the server and also did a ctrl F5 in the browser.