Fastest retrieval of the documents without knowing their keys

@mattt,

I know it’s been a while, the Eventing Service can be used to quickly inspect (and if needed modify) all documents in a keyspace and also directly alter TTLs if needed (via advanced keyspace accessors).

Eventing Functions can inspect all data via Couchbase’s high speed database change protocol (DCP) are of the form:

function OnUpdate(doc, meta) {
    log("document metadata", meta);
    log("document value", doc);
}

There are many examples in the documentation (an also here in the forums like “How can I rename field of document …”). As such I am sure one will be close to what you are looking for.

Best

Jon Strabala
Principal Product Manager - Server‌