Skip to content

Update rows instead of delete/create when using editMovies.js #15

@Zosoled

Description

@Zosoled

The current behavior of editMovies.js is to accept edits as an entirely new set of movies. After prompting the user for these edits, it will delete all the movies in the draft and reinsert the edited versions as new rows. We should call an UPDATE statement instead to minimize the risk of losing data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions