Actually a simple IN qualifier should work.

Andrus

> On Apr 12, 2016, at 11:38 AM, Hugi Thordarson <h...@karlmenn.is> wrote:
> 
> Hi all.
> I have a list of primary keys [3,4,5,etc…] and I’d like to fetch all the 
> corresponding objects in one go.
> Do I have to expose the primary key of my entity to do this or is there some 
> method like Cayenne.objectForPK() that can accept a list of keys and return 
> multiple objects?
> 
> Cheers,
> - hugi

Reply via email to