MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / As

Method As

pkg/sql/sem/tree/create.go:1027–1029  ·  view source on GitHub ↗

As returns true if this table represents a CREATE TABLE ... AS statement, false otherwise.

()

Source from the content-addressed store, hash-verified

1025// As returns true if this table represents a CREATE TABLE ... AS statement,
1026// false otherwise.
1027func (node *CreateTable) As() bool {
1028 return node.AsSource != nil
1029}
1030
1031// AsHasUserSpecifiedPrimaryKey returns true if a CREATE TABLE ... AS statement
1032// has a PRIMARY KEY constraint specified.

Callers 4

docMethod · 0.95
FormatBodyMethod · 0.95
StatementTagMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected