fix: pass object to pk_accessor
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
|||||||
|
|
||||||
// Extract FK value from the foreign object
|
// Extract FK value from the foreign object
|
||||||
insert_step rel_step{};
|
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()) {
|
if (pk.is_valid()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user