Pre-populate the first database entry

Hi…
I am collecting data from a form and it is passing the data to the database… the form takes “folder names” from the user as input… I want to understand how to prepopulate the database with a first entry called ‘Unsorted’… I am thinking that I can check to see if there are entries and if not, add a new thing… but i think that it will repetitively check this parameter every time and will incur unnecessary overhead… I am trying to figure out how this can be achieved once without having to run the query multiple times… Is there a way to do steps on first run of the app, for a user?

Regards…

when a user is creaated, thats when that “unsorted” folder name would need to be created

that is only one way of doing it, there are dozens of ways to get that done

1 Like