Ok, I’m getting the error whenever I try and update an existing record.
from anvil.tables import app_tables
row = app_tables.test_table.get(text_col='new_unique_value')
row['bool_col'] = not row['bool_col']
anvil.tables.TableError: Internal database error: ERROR: syntax error at or near "-" Position: 43
<running on the server>
called from /home/anvil/downlink/anvil/tables/v2/_row.py:772
called from /home/anvil/downlink/anvil/tables/v2/_row.py:717
called from /home/anvil/downlink/anvil/tables/v2/_row.py:527
called from <input>:3
called from /home/anvil/downlink/anvil_downlink_worker/__init__.py:250
called from /home/anvil/downlink/anvil_downlink_worker/__init__.py:284
called from /home/anvil/downlink/anvil/_threaded_server.py:169
When I try and update a row from the GUI I get the popup error:
Save failed
Could not save row: Unknown error
Other Observations:
Can delete row from console.
Can’t delete row from GUI
Can update a row that was created before the original error in the GUI
Can’t update a row that was created after the original error was resolved