Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c9e79b83

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID c9e79b8322a8180e720adffa2f56e67bc28a5236
  • Vorgänger 0c895d4d
  • Nachfolger a91984bb

example update and fix in em

Unterschiede anzeigen:

src/entitymanager.cpp
q.bindValue(1, item->getProperty(ptr->getPrimaryKey()));
this->schema->getDatabase()->exec(q);
if (prop.isReadable()) {
EntityHelper::addEntityToListProperty(ptr, entity, prop);
EntityHelper::addEntityToListProperty(item, entity, prop);
} else {
qDebug() << "Query exec for many to many relation failed." <<
q.lastError().text();

Auch abrufbar als: Unified diff