Summary

In this chapter, we added database persistence for our client models. We made it generic and flexible so that we can easily persist other model hierarchies by simply adding a new table to our DatabaseController class. We covered all the core CRUD operations, including a free text search capability that matches against the entire JSON object.

In Chapter 8, Web Requests, we will continue the theme of reaching outside of our application for data and look at another extremely common Line of Business application requirement making HTTP requests to web services.

Get Learn Qt 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.