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

Function GetInExpression

pkg/sql/ast/pool.go:1194–1198  ·  view source on GitHub ↗

GetInExpression gets an InExpression from the pool

()

Source from the content-addressed store, hash-verified

1192
1193// GetInExpression gets an InExpression from the pool
1194func GetInExpression() *InExpression {
1195 ie := inExprPool.Get().(*InExpression)
1196 ie.List = ie.List[:0]
1197 return ie
1198}
1199
1200// PutInExpression returns an InExpression to the pool
1201func PutInExpression(ie *InExpression) {

Callers 2

TestPutInExpressionFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by 2

TestPutInExpressionFunction · 0.68