Account for skip and limit in DbQueryCollection::count() #90

Open
wants to merge 1 commit into
from

1 participant

@superquadratic

The SQL generated by DbQueryCollections::count() did not account for the skip
and limit values of the QueryCollection, and always returned the total count.
Fixed by counting the result of a sub-query if necessary.

@superquadratic superquadratic Account for skip and limit in DbQueryCollection::count()
The SQL generated by DbQueryCollections::count() did not account for the skip
and limit values of the QueryCollection, and always returned the total count.
Fixed by counting the result of a sub-query if necessary.
38021bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment