[SOLVED] Re: @sum optimization?
[SOLVED] Re: @sum optimization?
- Subject: [SOLVED] Re: @sum optimization?
- From: Florijan Stamenkovic <email@hidden>
- Date: Mon, 28 Apr 2008 17:20:46 -0400
Well, apparently I was mistaken... Sorry for any confusion.
The idea of EOF optimized @stuff always kind of made sense to me, but
I have no clue anymore where I got the idea that this is actually done.
On Apr 28, 2008, at 16:01, Alexander Spohr wrote:
Am 28.04.2008 um 19:22 schrieb Florijan Stamenkovic:
I thought that @count operates directly on the db
No.
The @keypath-actions are something that NSArray does. And NSArray
knows nothing about EOF.
Hm, this could easily be overridden by an EOF specific subclass... An
NSArray (a fault) that would respond to objectAtIndex(...) by firing
the fault and returning the appropriate object, but would respond to
valueForKeyPath("attribute.@sum") by asking EOF to evaluate it
directly. No? Well, maybe I am pushing this idea way too far :)
Anyway, my confusion..
F
_______________________________________________
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