Does ActiveRecord relations in Yii2 handles only data retrieval or we can perform data manipulation tasks like update and insert also with ActiveRecord relations?
Does ActiveRecord relations in Yii2 handles only data retrieval or we can perform data manipulation tasks like update and insert also with ActiveRecord relations?
I think it’s mentioned in the guide. Look for link and unlink methods.