Over a million developers have joined DZone.
Gold Partner

Exporting Data from RavenDB, the New Way

· Database Zone

The Database Zone is brought to you in partnership with Clusterpoint.  Read about ACID-compliant Transactions Mechanism within NoSQL database from Clusterpoint.

In RavenDB 2.5, we provide an easy way to grab all the data from the database, regardless of the usual paging limit.

I had the chance to experiment with that recently during a course. Here is the code we wrote. For fun, we made it use the async API:

image

I am pretty happy about that. We have stuff that streams all the way from the ravendb to the end client.

The Database Zone is brought to you in partnership with Clusterpoint.  Read about ACID-compliant Transactions Mechanism within NoSQL database from Clusterpoint.

Topics:

Published at DZone with permission of Ayende Rahien , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}