If you're using project wonder, you can use ERXEOAccessUtilities.rowCountForFetchSpecification to do it. if you grab the wonder source, you can check out the impl of that method too -- it's pretty straightforward.

ms

On Jan 21, 2006, at 2:10 PM, Miguel Arroz wrote:

Hi!

This is probably very obvious, but... how can I count the objects that would be retuned by a fetch specification, but without actually fetching them (or creating faults for them)? What I would like to do is something like the COUNT SQL function.

  Yours

Miguel Arroz

"We have no sympathy for the lost souls
We've chosen the path of disgrace
We give this life to our children
And teach them to hate this place" -- Apocalyptica, Life Burns!

Miguel Arroz
http://www.ipragma.com


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

This email sent to [EMAIL PROTECTED]

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

This email sent to [email protected]

Reply via email to