MCPcopy Create free account
hub / github.com/daodst/chat / deviceKeysStatements

Struct deviceKeysStatements

keyserver/storage/sqlite3/device_keys_table.go:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 "DELETE FROM keyserver_device_keys WHERE user_id=$1"
69
70type deviceKeysStatements struct {
71 db *sql.DB
72 upsertDeviceKeysStmt *sql.Stmt
73 selectDeviceKeysStmt *sql.Stmt
74 selectBatchDeviceKeysStmt *sql.Stmt
75 selectBatchDeviceKeysWithEmptiesStmt *sql.Stmt
76 selectMaxStreamForUserStmt *sql.Stmt
77 deleteDeviceKeysStmt *sql.Stmt
78 deleteAllDeviceKeysStmt *sql.Stmt
79}
80
81func NewSqliteDeviceKeysTable(db *sql.DB) (tables.DeviceKeys, error) {
82 s := &deviceKeysStatements{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected