My User
model has many Target
and vice versa.
Now I've got a given User
and given Target
and I want to access pivot data from their relation. The pivot column is called type
How can I achieve this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…