wikidb.context

wikidb

context(db, manifest, collection_name) -> ctx, err

Build an operation context bound to one collection

nil selects the primary collection, so a v2 caller is unaffected. The context carries no author: set one on it before a write that logs events.