This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

jasonwong
jasonwong

I have a master table and a slave table of my products, master table fields such as title, description i.e. and the slave table fields such as contents, there two models respectively defined the $hasOne and $belongsTo relationships. but it don't insert the content field data into slave table when I created a new product.

I don't know how to insert and update like this relation data, can someone help me?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.