We don't always have the luxury of working in new apps with new databases. When we have to work with existing databases, Ecto's field allows us to specify the source column. That way, we can remap any field names to column names -- creating good domain language in our app but keeping the original column names.
For more videos like this, check out ElixirStreams.com
29 сен 2024