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

Method writeCommandStr

IceFireDB-SQLProxy/pkg/mysql/client/req.go:35–37  ·  view source on GitHub ↗
(command byte, arg string)

Source from the content-addressed store, hash-verified

33}
34
35func (c *Conn) writeCommandStr(command byte, arg string) error {
36 return c.writeCommandBuf(command, utils.StringToByteSlice(arg))
37}
38
39func (c *Conn) writeCommandUint32(command byte, arg uint32) error {
40 c.ResetSequence()

Callers 4

UseDBMethod · 0.95
execMethod · 0.95
PrepareMethod · 0.95

Calls 2

writeCommandBufMethod · 0.95
StringToByteSliceFunction · 0.92

Tested by

no test coverage detected