How to get the association data safety in Ecto Model?

前端 未结 0 709
暗喜
暗喜 2020-12-03 13:55

I have a model User which has one Subscription. Now I want to get the data in related subscription. A user may have no subscription.

This is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题