Update and delete records - QSqlRelationalModel
I'm using QSqlRelationalTableModel to display relational table from MySQL database.
I can update, delete and add records in this model (relation one-to-many).
The problem occurs when editing the table (relation many to many), wherein there are two columns (primary key from table 1 and primary key form table2). I can give the relation between these two tables by adding new record, but i cannot update or delete existing relation.
Please, help. Is it possible to update or delete?
Can someone help?