MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / CreateDatabase

Struct CreateDatabase

parser/ast.go:1242–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1240}
1241
1242type CreateDatabase struct {
1243 CreatePos Pos // position of CREATE keyword
1244 StatementEnd Pos
1245 Name Expr
1246 IfNotExists bool // true if 'IF NOT EXISTS' is specified
1247 OnCluster *ClusterClause
1248 Engine *EngineExpr
1249 Comment *StringLiteral
1250}
1251
1252func (c *CreateDatabase) Pos() Pos {
1253 return c.CreatePos

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected