saving belongsToMany association with same keys but different _joinData
问题 I have a belongsToMany relationship between two tables which is configured using a through table. class UsersTable extends Table { public function initialize(array $config) { $this->belongsToMany('Groups', [ 'through' => 'GroupsUsers', ]); } } class GroupsTable extends Table { public function initialize(array $config) { $this->belongsToMany('Users', [ 'through' => 'GroupsUsers', ]); } } class GroupsUsersTable extends Table { public function initialize(array $config) { $this->belongsTo('Groups