Introduction
In the previous chapter, we learned how to create a module and how we can do some basic stuff.
In this recipe, we will learn how we can integrate a module with the database of Magento. For this, we need the Magento module that we have created in Chapter 4, Creating a Module.
We will learn how we can run queries, add our own entities, and automate the installation of configurations in the database.