QSqlRelationalTableModel

class PyQt5.QtSql.QSqlRelationalTableModel

C++ documentation