Ecto.Adapters.DynamoDB.autogenerate
You're seeing just the function
autogenerate
, go back to Ecto.Adapters.DynamoDB module for more information.
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.
For the Ecto type, :id
, the adapter autogenerates a 128-bit integer
For the Ecto type, :embed_id
, the adapter autogenerates a string, using Ecto.UUID.generate()
For the Ecto type, :binary_id
, the adapter autogenerates a string, using Ecto.UUID.generate()