Hi there,

For some time now we've been using the technique of defining a non- class property in the model called "derivedCount" with it's definition as count(*).

Works great. e.g.,

EOEditingContext ec; // assume exists
EOFetchSpecification fetchSpec; // assume exists
NSArray results;

fetchSpec.setRawRowKeyPaths( new NSArray( "derivedCount" ) );
results = ec.objectsWithFetchSpecification( rawFetchspecification );

My question is, would this work equally well with the shared editing context using the readerLocking?

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to