Loads and returns an array of objects for given primary key.
Use this function to avoid specifying the required boolean parameter in EntityLoad()
.
entityLoadByPK(entity, id)
→ returns any
true
, the entity is returned.false
an array is returned to support multiple entities.true
but multiple entities would be returned an error will be thrown.
unique
parameter.
user = entityLoadByPK("User", userID);