📜  put_assoc - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:33.535000             🧑  作者: Mango

代码示例1
1. build_assoc = We use build_assoc when we are creating a new record and we want to associate it with a parent record by setting a foreign key.
2. put_assoc = We use put_assoc when we have an existing record and we want to update its associations.
3. cast_assoc = We use cast_assoc when we have an existing record and we want to update its associations with external data(csv files)