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

Method list_synonym_groups

nodedb/src/engine/sparse/inverted/synonyms.rs:31–38  ·  view source on GitHub ↗

List all synonym groups for a tenant.

(
        &self,
        tid: TenantId,
    )

Source from the content-addressed store, hash-verified

29
30 /// List all synonym groups for a tenant.
31 pub fn list_synonym_groups(
32 &self,
33 tid: TenantId,
34 ) -> crate::Result<Vec<nodedb_fts::SynonymGroupRecord>> {
35 self.inner
36 .list_synonym_groups(tid.as_u64())
37 .map_err(|e| inverted_err("list_synonym_groups", e))
38 }
39}

Callers

nothing calls this directly

Calls 2

inverted_errFunction · 0.85
as_u64Method · 0.45

Tested by

no test coverage detected