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

Method exec

IceFireDB-SQLite/pkg/mysql/client/conn.go:312–318  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

310}
311
312func (c *Conn) exec(query string) (*Result, error) {
313 if err := c.writeCommandStr(COM_QUERY, query); err != nil {
314 return nil, errors.Trace(err)
315 }
316
317 return c.readResult(false)
318}

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