質問

It there a method that Ecto.Entity or Ecto.Model provides that will return a Dict of the fields defined in the model and their values?

役に立ちましたか?

解決

Yes, to_keywords (it is the same function used by records).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top