Marcel Reutegger wrote:

Hmm, after some thinking here's another proposal:

keep the setLimit() as is. but introduce a getSize() (or getTotalMatches()?) on the QueryResult. This method always returns the total number of nodes/rows independent of setLimit().

That was what I was trying to suggest in my original post ;) I would go for getTotalSize() as Thomas suggested.

Cheers,
Christoph

Reply via email to