请教一个使用 model 存储数据的问题
先上代码
图片中的model关系是 employer belongsTo organization, organizaton hasMany employer
请问在使用model的前提下,有没有什么好的办法能把这两次数据库操作,合并成一次?
推荐文章: