What I’m trying to do:
I’m trying to find a row using a keyword that a user enters and then to delete that entry from stored tables. Is there a quicker way to do it than what I currently have implemented?
table_entry
is a dict object.
Code Sample:
@anvil.server.callable
def delete_group(table_entry):
for iter in app_tables.group_table.search():
if iter["group_name"]==table_entry["Group Name"]:
iter.delete()
return