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

Method DeviceDelete

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

DeviceDelete deletes a device record

(uid t.Uid, deviceID string)

Source from the content-addressed store, hash-verified

175 DeviceGetAll(uid ...t.Uid) (map[t.Uid][]t.DeviceDef, int, error)
176 // DeviceDelete deletes a device record
177 DeviceDelete(uid t.Uid, deviceID string) error
178
179 // File upload records. The files are stored outside of the database.
180

Callers 6

UpdateMethod · 0.65
DeleteMethod · 0.65
TestDeviceDeleteFunction · 0.65
TestDeviceDeleteFunction · 0.65
TestDeviceDeleteFunction · 0.65
TestDeviceDeleteFunction · 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 4

TestDeviceDeleteFunction · 0.52
TestDeviceDeleteFunction · 0.52
TestDeviceDeleteFunction · 0.52
TestDeviceDeleteFunction · 0.52