In the previous chapters, we gave an overview of model creation, and how to load and export data from models. Now that we have our data model, and some data to work with, it's time to learn more about how we can programmatically interact with them.
The ORM supporting our models provides a few methods for this interaction, called the Application Programming Interface (API). These start with the basic CRUD (create, read, update, delete) operations, but also include other operations, such as data export and import, or utility functions to aid the user interface and experience. It also provides some decorators that we have already seen in the previous chapters. These allow us, when adding new methods, to let the ORM know how they should be handled.
In this chapter, we will learn how to use the most important API methods available...