Github Issue submitted.

But I think it should display whatever value is quickest to retrieve. I 
have a list of Forms that display the count of the number of records within 
them. I have one CBLView per Form. I wouldn't want it to have to compute 
the totalRows at the moment I fetched my list of forms. It's fine to update 
it if I click on a form, but not just to display the list of forms and 
their record counts.

On Tuesday, July 14, 2015 at 3:07:19 PM UTC-6, Jens Alfke wrote:
>
>
> On Jul 14, 2015, at 1:08 PM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote:
>
> I see there's a CBLView totalRows property that gives the number of rows 
> in a view. Is it possible to expose that to us?
>
>
> That would make sense, especially since that info is already provided in 
> the REST API (as the “total_rows” property in the JSON response to a view 
> query.)
>
> The question is, should it return the *current* total rows in the index 
> (as it does today), or should it update the view index first (to reflect 
> the current state of the database)? I lean toward the latter.
>
> Anyway, please file an issue in Github.
>
> —Jens
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/6717d546-928b-4553-a870-0ea0f57e1ee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to