Re: [Modeling-users] limiting the amount of objects retrieved
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2004-02-06 16:15:16
|
John Lenton <jo...@vi...> wrote: > I need (or, rather, would like) to be able to use the 'splice > parameters' that I see commented out in Modeling.EditingContext to be > able to send feedback to the user as to how many objects have been > retrieved (and to let her cancel the operation if necessary). Is there > anything left to be done to be able to use these parameters? A patch was once made for using slice parameters; I was not able to find it on sf.net, however if you're interested in testing it I can make it available on sf tonite after I'm back home. If the goal is simply to control that not too much objects are fetched by a query, you may want to use ec.fetchCount() [same API as ec.fetch()] which returns the number of objects fetched (without actually fetching them). -- S=E9bastien. |