Re: way too many SELECTs?
Re: way too many SELECTs?
- Subject: Re: way too many SELECTs?
- From: OC <email@hidden>
- Date: Mon, 16 Feb 2015 19:28:14 +0100
Ramsey,
On 16. 2. 2015, at 18:24, Ramsey Gurley <email@hidden> wrote:
> In your model, you have A<->>B? Did you know whenever you create a new B, you fetch all B related to A as a result? It goes like this. New B, setARelationship() on B, that calls addObjectToBothSides, which fetches all of A’s b() to insert the single new B into it.
Darn -- this is the normal EOF behaviour?!?
For the last week, I am trying to find the bug in my code which causes those superfluous fetches :-O
Thanks a lot,
OC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden