phpcr/phpcr — Issue #27: add a PHPCR\Query\QueryResultInterface::count()
Author: lsmith77
Created: 2012-01-18 18:00:06+00:00
State: open

if i see this properly, there is currently no way to get the number of matching rows from a given query without having to basically remove any limit/offset and reading the entire result set. this is especially problematic for a web application imho. there also does not seem to be a COUNT() function. i guess we will have to check with the JCR/Jackrabbit guys on this ..