MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / GetInsertStatement

Function GetInsertStatement

pkg/sql/ast/pool.go:546–548  ·  view source on GitHub ↗

GetInsertStatement gets an InsertStatement from the pool

()

Source from the content-addressed store, hash-verified

544
545// GetInsertStatement gets an InsertStatement from the pool
546func GetInsertStatement() *InsertStatement {
547 return insertStmtPool.Get().(*InsertStatement)
548}
549
550// PutInsertStatement returns an InsertStatement to the pool
551func PutInsertStatement(stmt *InsertStatement) {

Callers 4

TestInsertStatementPoolFunction · 0.85
TestPoolReuseFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by 4

TestInsertStatementPoolFunction · 0.68
TestPoolReuseFunction · 0.68