DEV Community

shweta singh
shweta singh

Posted on

Reorder / reset order id while updating 1 row order id in node

i have table name questions in which there are 3 fields question text, question id and order no. when i am reordering 1 row all rows should reorder accordingly. how can i create this using node api?

Top comments (0)