Import action - fill relationship hasone
Hey all,
I'm trying to import a CSV that has a price relationship (hasOne). This is how I'm trying to do it:
Thing is, obviously, the $record->price can't be created because the record hasn't been assigned an ID yet.
How can I approach this? Is it even possible with the Import action?
1 Reply
I'm considering going with afterCreate // afterUpdate, but was wondering if there was a more direct approach.