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

Struct CreateIndexStatement

pkg/sql/ast/ast.go:1622–1630  ·  view source on GitHub ↗

CreateIndexStatement represents a CREATE INDEX statement

Source from the content-addressed store, hash-verified

1620
1621// CreateIndexStatement represents a CREATE INDEX statement
1622type CreateIndexStatement struct {
1623 Unique bool
1624 IfNotExists bool
1625 Name string
1626 Table string
1627 Columns []IndexColumn
1628 Using string
1629 Where Expression
1630}
1631
1632func (c *CreateIndexStatement) statementNode() {}
1633func (c CreateIndexStatement) TokenLiteral() string { return "CREATE INDEX" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected