MCPcopy
hub / github.com/tinode/chat / TopicUpdate

Method TopicUpdate

server/db/adapter.go:127–127  ·  view source on GitHub ↗

TopicUpdate updates topic record.

(topic string, update map[string]any)

Source from the content-addressed store, hash-verified

125 TopicUpdateSubCnt(topic string) error
126 // TopicUpdate updates topic record.
127 TopicUpdate(topic string, update map[string]any) error
128 // TopicOwnerChange updates topic's owner
129 TopicOwnerChange(topic string, newOwner t.Uid) error
130

Callers 10

UpdateMethod · 0.65
DeleteListMethod · 0.65
TestTopicUpdateFunction · 0.65
TestTopicCreateFunction · 0.65
TestTopicShareFunction · 0.65
TestTopicUpdateFunction · 0.65
TestTopicCreateFunction · 0.65
TestTopicUpdateFunction · 0.65
TestTopicShareFunction · 0.65
TestTopicUpdateFunction · 0.65

Implementers 4

adapterserver/db/mongodb/adapter.go
adapterserver/db/postgres/adapter.go
adapterserver/db/rethinkdb/adapter.go
adapterserver/db/mysql/adapter.go

Calls

no outgoing calls

Tested by 8

TestTopicUpdateFunction · 0.52
TestTopicCreateFunction · 0.52
TestTopicShareFunction · 0.52
TestTopicUpdateFunction · 0.52
TestTopicCreateFunction · 0.52
TestTopicUpdateFunction · 0.52
TestTopicShareFunction · 0.52
TestTopicUpdateFunction · 0.52