will result in 2 separate insertions into CapturedImage (correct behavior), but the reference from the VRecord row points to the (same) latter CapturedImage record instead of pointing to their assigned records.
Creating CapturedImage using create() beforehand will not yield this issue.
Given
then
will result in 2 separate insertions into
CapturedImage
(correct behavior), but the reference from theVRecord
row points to the (same) latterCapturedImage
record instead of pointing to their assigned records.Creating
CapturedImage
usingcreate()
beforehand will not yield this issue.Using sqlite.