A small example of implementing a SQL CRUD in Qt that can be used in a DataModel (already integrated and functional in a DataModel).