Continuing with the series on CodeIgniter 4 , in today’s class I show you how to create a MODEL in CI4 for a database table. This model requires a minimum of code, since CI4 already provides a generic class with the main methods for entering , editing , deleting and searching data in the bank.
In addition to creating the model class, I also show how to create a View with a form and how to submit the form data for a Controller to receive and call the Model to INSERT into the database. I hope you like the video lesson !!!!
The video is available at: https://www.youtube.com/watch?v=yxpKTGWybvw&utm_source=rafaelwendel
Study more CI4 models at: https://codeigniter4.github.io/userguide/models/model.html