MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Broadcast

Function Broadcast

IceFireDB-SQLite/internal/sqlite/db.go:249–255  ·  view source on GitHub ↗
(sql string)

Source from the content-addressed store, hash-verified

247}
248
249func Broadcast(sql string) {
250 if !isDML(sql) {
251 return
252 }
253 p2pPubSub.Outbound <- sql
254 logrus.Infof("Outbound sql: %s", sql)
255}

Callers 1

HandleStmtExecuteMethod · 0.92

Calls 1

isDMLFunction · 0.70

Tested by

no test coverage detected