create_element_in_db and delete_net_element return the created/deleted document
set_net_value_in_db returns a dictionary {"document": changed_doc, changed_field : {"current": new value, "previous": old value}
Possible breaking changes:
delete_net_element and set_net_value_in_db did not return anything before.
create_element_in_db previously returned pymongos' InsertOneResult and now returns the created document.
create_element_in_db
anddelete_net_element
return the created/deleted documentset_net_value_in_db
returns a dictionary {"document": changed_doc, changed_field : {"current": new value, "previous": old value}Possible breaking changes:
delete_net_element
andset_net_value_in_db
did not return anything before.create_element_in_db
previously returned pymongos' InsertOneResult and now returns the created document.