Totally of topic but could someone explain Elixirs syntax to me?
In the following code (from the linked site):
What is embeds_many?
Are :string and :map type information or Atoms?
What happens to :changes, Change, primary_key?
Does the code between do and end just call the field function twice?
embeds_many :changes, Change, primary_key: false do
In the following code (from the linked site): What is embeds_many? Are :string and :map type information or Atoms? What happens to :changes, Change, primary_key? Does the code between do and end just call the field function twice?
embeds_many :changes, Change, primary_key: false do
end