RemoveFromChangeCache removes select documents from all channel caches and returns the number of documents removed.
(ctx context.Context, docIDs []string, startTime time.Time)
| 290 | |
| 291 | // RemoveFromChangeCache removes select documents from all channel caches and returns the number of documents removed. |
| 292 | func (c *DatabaseCollection) RemoveFromChangeCache(ctx context.Context, docIDs []string, startTime time.Time) int { |
| 293 | return c.dbCtx.changeCache.Remove(ctx, c.GetCollectionID(), docIDs, startTime) |
| 294 | } |
| 295 | |
| 296 | // revsLimit is the max depth a document's revision tree can grow to. This is controlled at a database level. |
| 297 | func (c *DatabaseCollection) revsLimit() uint32 { |
no test coverage detected