enum ObjectKind: string
Public API: explicitly declared with @visibility public.

The kind of catalog object a generic object command addresses.

Mirrors PostgreSQL's ObjectType: DROP, COMMENT, SECURITY LABEL, ALTER ... RENAME, OWNER TO, SET SCHEMA, DEPENDS ON EXTENSION, GRANT and ALTER EXTENSION are one node each with an object kind, not one node per kind. Source: https://www.postgresql.org/docs/17/sql-commands.html.

Spelling an object kinddoctest
\SqlSemantics\Platform\PostgreSql\Statement\Name\ObjectKind::MaterializedView->keywords() // => ['MATERIALIZED', 'VIEW']

Cases§

case AccessMethod = 'ACCESS METHOD'
case Aggregate = 'AGGREGATE'
case Cast = 'CAST'
case Collation = 'COLLATION'
case Column = 'COLUMN'
case Constraint = 'CONSTRAINT'
case Conversion = 'CONVERSION'
case Database = 'DATABASE'
case Domain = 'DOMAIN'
case DomainConstraint = 'CONSTRAINT ON DOMAIN'
case EventTrigger = 'EVENT TRIGGER'
case Extension = 'EXTENSION'
case ForeignDataWrapper = 'FOREIGN DATA WRAPPER'
case ForeignServer = 'SERVER'
case ForeignTable = 'FOREIGN TABLE'
case Function = 'FUNCTION'
case Index = 'INDEX'
case Language = 'LANGUAGE'
case LargeObject = 'LARGE OBJECT'
case MaterializedView = 'MATERIALIZED VIEW'
case OperatorClass = 'OPERATOR CLASS'
case Operator = 'OPERATOR'
case OperatorFamily = 'OPERATOR FAMILY'
case Parameter = 'PARAMETER'
case Policy = 'POLICY'
case Procedure = 'PROCEDURE'
case Publication = 'PUBLICATION'
case Role = 'ROLE'
case Routine = 'ROUTINE'
case Rule = 'RULE'
case Schema = 'SCHEMA'
case Sequence = 'SEQUENCE'
case Statistics = 'STATISTICS'
case Subscription = 'SUBSCRIPTION'
case Table = 'TABLE'
case Tablespace = 'TABLESPACE'
case TextSearchConfiguration = 'TEXT SEARCH CONFIGURATION'
case TextSearchDictionary = 'TEXT SEARCH DICTIONARY'
case TextSearchParser = 'TEXT SEARCH PARSER'
case TextSearchTemplate = 'TEXT SEARCH TEMPLATE'
case Transform = 'TRANSFORM'
case Trigger = 'TRIGGER'
case Type = 'TYPE'
case UserMapping = 'USER MAPPING'
case View = 'VIEW'

Methods§

Test cases 78§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 77

Relations§

Static calls 6
Method calls 3
Constant reads 185
Type declarations 33