Skip to content


Subversion checkout URL

You can clone with
Download ZIP


View JSON response "total_rows" value. #170

markst opened this Issue · 3 comments

4 participants


When querying a view from Curl the response contains a "total_rows" key with how many results there are.
Performing a query in Cradle only returns the rows value.


you can do cradle.setup({raw: true}) to get unprocessed data


I think this should be included in the output without converting everything to raw output. Think of view pagination when you want to show something like 1-10/2000 for example.

I really like cradle but this sort of processing/conversion overkill just seems plain wrong.


@freeformsystems That's fine, you can opt out of it:

  require('cradle').setup({ raw: true });
@indexzero indexzero closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.