Ecto.Adapter.Schema.autogenerate
You're seeing just the callback
autogenerate
, go back to Ecto.Adapter.Schema module for more information.
Specs
autogenerate(field_type :: :id | :binary_id | :embed_id) :: term() | nil
Called to autogenerate a value for id/embed_id/binary_id.
Returns the autogenerated value, or nil if it must be autogenerated inside the storage or raise if not supported.