Should "TotalRows" be exposed in ViewResults?

The ViewResults return value from ExecuteViewQuery doesn’t have a way to get the TotalRows value.

Counting the results doesn’t look like it will give an accurate answer, since according to the Java SDK docs:

int totalRows() The total number of rows in the index can be greater than the number of rows() returned.

Should this get added?

Hey @traun,

This is trackable on the issue tracker at:
https://issues.couchbase.com/browse/GOCBC-185

Cheers, Brett

1 Like