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

Function GetUpdateStatement

pkg/sql/ast/pool.go:580–582  ·  view source on GitHub ↗

GetUpdateStatement gets an UpdateStatement from the pool

()

Source from the content-addressed store, hash-verified

578
579// GetUpdateStatement gets an UpdateStatement from the pool
580func GetUpdateStatement() *UpdateStatement {
581 return updateStmtPool.Get().(*UpdateStatement)
582}
583
584// PutUpdateStatement returns an UpdateStatement to the pool
585func PutUpdateStatement(stmt *UpdateStatement) {

Calls 1

GetMethod · 0.45

Tested by 3

TestUpdateStatementPoolFunction · 0.68