MongocampCollectionHistory
The recent writes of an audited declared collection (server 2.3, audit), for administrators of the collection. A card, collapsed until Show the history is clicked — nothing is asked before.
<MongocampCollectionHistory collection="orders" />| Prop | Default | Description |
|---|---|---|
collection | — | Required. |
pageSize | 20 | Records per request; Load older asks for the next page. |
Opened, it lists the newest records (see MongocampDocumentHistory for what a record shows) with each record's document id; clicking the id opens that document's history drawer. A many-write recorded as a summary shows "A write of many documents" and its summary. Since limits the list to records from that day on (midnight UTC). Without the administrate grant the server answers 403 — the card shows a note instead of an error banner.
MongocampCollectionInfos shows it for an audited collection (hideHistory hides it). Data: useMongocampHistory.collectionHistory.
Root class mongocamp-collection-history; parts heading, toolbar, table, empty, error.