I want to fill one model with a set of entries. Can somebody point me good example/reference that uses lb4?
Thanks
Is this todo example what you're looking for? https://loopback.io/doc/en/lb4/todo-tutorial.html.
I'm transferring your issue to the loopback-next repo.
Thanks @dhmlau for responding.
My bad, I should have made it clear. No, I want to fill one database table with bunch of seed data while deploying or after immediate deployment just like migration. An example would be: I've a todo list model and I want to fill those tables with bunch of entries during the deployment or after the deployment so that user who access the application will have something to see. Just like rails seed data. Please let me know anyway to do this in loopback4.
Thanks
For those who wandering here, I got the answer. I read the documentation again ;) Here is it. https://loopback.io/doc/en/lb4/Database-migrations.html#implement-additional-migration-steps
Most helpful comment
For those who wandering here, I got the answer. I read the documentation again ;) Here is it. https://loopback.io/doc/en/lb4/Database-migrations.html#implement-additional-migration-steps