Man, I keep missing that get generated methods part of the docs.  Thanks guys.

 

-- Josh

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Chris Peterson
Sent: Friday, December 05, 2008 10:10 AM
To: [email protected]
Subject: [transfer-dev] Re: Get onetomany array

 

you hve to say getBArray()

On Fri, Dec 5, 2008 at 12:45 PM, Josh Nathanson <[EMAIL PROTECTED]> wrote:

I'm probably missing something obvious here…I have a onetomany relationship, 
and I want to retrieve the array of objects that represents the "many" part 
from the transfer object.  However when I try to do this, it errors saying that 
an index argument is required.  I don't want an individual object, I want the 
whole array so I can loop over it.  How do I do this?

 

So if I have a relationship a->onetomany->b, I want to say a.getb() and return 
the array of objects.

 

-- Josh

 

 

 




-- 
Hey! I dont tell you how to tell me what to do, so dont tell me how to do what 
you tell me to do! ~ Bender (Futurama)



--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to