[doc] Added db:replace and db:occurrences documentation