SQL Script - NodeJS

SQL Script - NodeJS

inonshainonsha Posts: 5Questions: 4Answers: 0

Hi,
I Would to ask how can i change the sql script?

For example:
when pressing on the delete button (after selecting a row) - i want to change it from 'delete the row' to 'change value for the specific row (IsDeleted=1)'

Thanks.

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Rather than using a delete action, use an edit (since you are really doing an edit, not a delete!). There is an example of that available here which is also available in the NodeJS download package.

    Allan

This discussion has been closed.