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

Function NewResultset

IceFireDB-SQLite/pkg/mysql/mysql/resultset.go:28–32  ·  view source on GitHub ↗
(fieldsCount int)

Source from the content-addressed store, hash-verified

26}
27
28func NewResultset(fieldsCount int) *Resultset {
29 r := resultsetPool.Get().(*Resultset)
30 r.Reset(fieldsCount)
31 return r
32}
33
34func (r *Resultset) returnToPool() {
35 resultsetPool.Put(r)

Callers 4

ExecFunction · 0.92
readResultStreamingMethod · 0.50
readResultsetMethod · 0.50

Calls 2

GetMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected