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

Function GetUpdateExpression

pkg/sql/ast/pool.go:631–633  ·  view source on GitHub ↗

GetUpdateExpression gets an UpdateExpression from the pool

()

Source from the content-addressed store, hash-verified

629
630// GetUpdateExpression gets an UpdateExpression from the pool
631func GetUpdateExpression() *UpdateExpression {
632 return updateExprPool.Get().(*UpdateExpression)
633}
634
635// PutUpdateExpression returns an UpdateExpression to the pool
636func PutUpdateExpression(expr *UpdateExpression) {

Callers 1

TestUpdateExpressionPoolFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by 1

TestUpdateExpressionPoolFunction · 0.68