Dump and restore collections from Constellation console


#1

In the early stages of development, you might sometimes want to clear a whole collection* (or set of collections) to test stuff.

This package lets you dump the collection as text first so you can restore it later if you like. It’s a plugin for the Constellation dev console.

Warning: don’t use it on big collections. This is just a first iteration – a better implementation is definitely possible.

* to clear a collection in Constellation, click on the current document number for the collection – for instance if it says 3/12, click on the 3.