package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

GetForDatabase looks up and returns all available schema ids to names for a given database.
GetObjectNames retrieves the names of all objects in the target database/ schema.
ResolveExistingObject resolves an object with the given flags.
ResolveExistingTableObject looks up an existing object.
ResolveMutableExistingTableObject looks up an existing mutable object.
ResolveMutableType resolves a type descriptor for mutable access.
ResolveSchemaNameByID resolves a schema's name based on db and schema id.
ResolveTargetObject determines a valid target path for an object that may not exist yet.

# Variables

ErrNoPrimaryKey is returned when resolving a table object and the AllowWithoutPrimaryKey flag is not set.
StaticSchemaIDMap is a map of statically known schema IDs.

# Interfaces

SchemaResolver abstracts the interfaces needed from the logical planner to perform name resolution below.