0

I am using cloudant for my Project. Every time i update a document and fetch a document, the result JSON comes with { _rev_info : [...] } (contains 500+ rev history). how i restrict & fetch data without _rev_info in cloudant??

{ name: "test",
  "age":22,
  _revs_info: [
          { rev: '510-454.....',
            status: 'available' }, 
            {....}
 ]
}
Gopi
  • 163
  • 1
  • 13

1 Answers1

1

_revs_info is only be returned if you explicitly request it by passing revs_info=true in the query string. If you don't require the revision history, just exclude that parameter.

Will Holley
  • 1,745
  • 10
  • 11