Need a review / suggestion please

Hello , i want to store the positions of items depending on the user preferences ( using a sortable list in which he can even move up or down one of the items ) i thought about this solution using transactions and some how two queries. is there anybody free to take look please and thanks in advance 🙏 here is a live example on :
1 Reply
Want results from more Discord servers?
Add your server