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?
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?