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

Function GetAlterTableStatement

pkg/sql/ast/pool.go:1471–1475  ·  view source on GitHub ↗

GetAlterTableStatement gets an AlterTableStatement from the pool.

()

Source from the content-addressed store, hash-verified

1469
1470// GetAlterTableStatement gets an AlterTableStatement from the pool.
1471func GetAlterTableStatement() *AlterTableStatement {
1472 stmt := alterTableStmtPool.Get().(*AlterTableStatement)
1473 stmt.Actions = stmt.Actions[:0]
1474 return stmt
1475}
1476
1477// PutAlterTableStatement returns an AlterTableStatement to the pool.
1478// It recursively releases nested expressions in column definitions and constraints.

Calls 1

GetMethod · 0.45