fix: pass object to pk_accessor
This commit is contained in:
parent
f62f3e626b
commit
53ac6810d9
|
|
@ -106,7 +106,7 @@ public:
|
|||
|
||||
// Extract FK value from the foreign object
|
||||
insert_step rel_step{};
|
||||
const auto pk = rel_step.pk_accessor.get(obj);
|
||||
const auto pk = rel_step.pk_accessor.get(*obj);
|
||||
if (pk.is_valid()) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue