This chapter encourages you to take advantage of the Object Relational Mapping (ORM) abstraction between the web application and the database to streamline your workflow when working with a database. One of the major benefits of using the ORM tool is that you don't have to deal with a database directly, avoiding the painful way of writing different querying commands specific to each type of database. Swift web frameworks support a number of database engines and sometimes you can use multiple databases in the same session.
In this chapter, you'll learn how to work with the Fluent abstraction framework in Vapor, and the Kuery framework in Kitura. You'll interact with your model in Create, Retrieve, Update, and Delete (CRUD) operations using these frameworks.
In this chapter, we will cover the following topics:
- Installing databases
- Working...