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

Function GetCreateViewStatement

pkg/sql/ast/pool.go:1611–1615  ·  view source on GitHub ↗

GetCreateViewStatement gets a CreateViewStatement from the pool.

()

Source from the content-addressed store, hash-verified

1609
1610// GetCreateViewStatement gets a CreateViewStatement from the pool.
1611func GetCreateViewStatement() *CreateViewStatement {
1612 stmt := createViewStmtPool.Get().(*CreateViewStatement)
1613 stmt.Columns = stmt.Columns[:0]
1614 return stmt
1615}
1616
1617// PutCreateViewStatement returns a CreateViewStatement to the pool.
1618// It recursively releases the nested query statement.

Callers 3

Calls 1

GetMethod · 0.45

Tested by 3