Specs
primary_key!(Ecto.Schema.t()) :: Keyword.t()
Returns the schema primary keys as a keyword list.
Raises Ecto.NoPrimaryKeyFieldError
if the schema has no
primary key field.
primary_key-exclamation-mark
, go back to Ecto module for more information.
primary_key!(Ecto.Schema.t()) :: Keyword.t()
Returns the schema primary keys as a keyword list.
Raises Ecto.NoPrimaryKeyFieldError
if the schema has no
primary key field.