Use `relationship()` when creating a new record
Hi all,
I have two tables,
And
When I use
then the Address is not created. In addition, when I use the
Does the
Thank you in advance.
I have two tables,
consumers and addresses. The consumer has a address_id column:And
addresses table looks like this:When I use
relationship method to create Address for Consumer:then the Address is not created. In addition, when I use the
handleRecordCreation method, I don't see any address-related data in there. Only data for Customer.Does the
relationship() method work for creating new records? Where could be the problem? Thank you in advance.