class Athena::ORM::Exceptions::MissingIdentifierField
inherits Athena::ORM::Exceptions::ORMException
#
Raised when the identifier passed to AORM::EntityManager#find doesn't match the entity's primary key.
That is, when a Hash identifier is missing one of the primary key's fields, or a single value is passed for an entity with a composite primary key.
em.find Order, {"id" => 1} # raises if Order's primary key is (id, region)
em.find Order, 1 # raises too
em.find Order, {"id" => 1, "region" => "eu"} # OK