Importing data into the database with a large amount of data

I have created a custom class in the database and i want to pre-populate it with about 10,000 entries.

I have my 10,000 entries in a json. I could create a function that loops through each entry and then creates a new instance of the class and sets the relevant values.

Is there a better way to do this?

Hey @deadLuchador

Currently, you can use this method.

We will add import from the DashBoard UI soon :man_mechanic:

1 Like