Closed internalfx closed 11 years ago
:+1:
I haven't yet implemented this, because it's not very performant on large collections. I'm thinking I'll fake it by dropping the collection then re-creating all the indexes on a new collection. Sound reasonable?
I've implemented API support for truncating by dropping a collection then recreating its indices. It seems to work well. I'll work it into the UI and get it in the next point release.
This has been implemented and will appear in the next point release (v2.6.0)
(Just kidding, v2.4.0)
It would be nice if you could empty a collection without removing it, to keep the indexes and such.