ExTeal.Fields.HasMany (ExTeal v0.21.0) View Source

The HasMany field corresponds to a has_many ecto relationship. For example, let's assume a User schema has many Post schema. We may add the relationship to our User ExTeal resource like so:

alias ExTeal.Fields.HasMany

HasMany.make(:posts)

Link to this section Summary

Link to this section Functions