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

Method exec

IceFireDB-SQLProxy/pkg/mysql/client/conn.go:317–323  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

315}
316
317func (c *Conn) exec(query string) (*Result, error) {
318 if err := c.writeCommandStr(COM_QUERY, query); err != nil {
319 return nil, errors.Trace(err)
320 }
321
322 return c.readResult(false)
323}

Callers 6

ExecuteMethod · 0.95
BeginMethod · 0.95
CommitMethod · 0.95
RollbackMethod · 0.95
SetCharsetMethod · 0.95
SetAutoCommitMethod · 0.95

Calls 2

writeCommandStrMethod · 0.95
readResultMethod · 0.95

Tested by

no test coverage detected