F
Filament11mo ago
Isaaaac

Reordering Records - Add default sort value when new record is created

How to add default sort value when new record is created. So, if there are existing sorted records in the table, automatically add a sort value in a newly created record.
3 Replies
Isaaaac
IsaaaacOP11mo ago
default is null, desired should be 13
No description
dwiser
dwiser11mo ago
Is the new sort number always going to be the highest? I'd consider setting auto increment in the database and letting the database handle it then.
Want results from more Discord servers?
Add your server