MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / increment

Function increment

nodedb/src/engine/sparse/fts_redb/backend/stats.rs:35–42  ·  view source on GitHub ↗
(
    backend: &RedbFtsBackend,
    tid: u64,
    collection: &str,
    doc_len: u32,
)

Source from the content-addressed store, hash-verified

33}
34
35pub(super) fn increment(
36 backend: &RedbFtsBackend,
37 tid: u64,
38 collection: &str,
39 doc_len: u32,
40) -> crate::Result<()> {
41 bump(backend, tid, collection, doc_len as i64)
42}
43
44pub(super) fn decrement(
45 backend: &RedbFtsBackend,

Callers 1

increment_statsMethod · 0.85

Calls 1

bumpFunction · 0.85

Tested by

no test coverage detected