code: def update_object_in_db(self,
                              obj: Any,
                              table: str,
                              fieldlist: Sequence[str]) -> None:
          
          self.ensure_db_open()
          pkvalue = getattr(obj, fieldlist[0])
          valuelist = []
          # Non-PK fields first
          for f in fieldlist[1:]:
              valuelist.append(getattr(obj, f))
          # Then PK
          valuelist.append(pkvalue)
          cursor = self.db.cursor()
          self.db_exec_with_cursor(
              cursor,
              get_sql_update_by_first_field(table, fieldlist, self.get_delims()),
              *valuelist
          )
docs: Updates an object in the database (saves it to the database, where
          it exists there already).