Expand description
Validation for database and schema mod file statements.
Validates that mod files (database-level and schema-level) contain only permitted statement types: comments, grants, and alter default privileges targeting the correct database or schema.
Functionsยง
- comment_
object_ ๐type_ name - Get a human-readable name for a CommentObjectType variant.
- schema_
name_ ๐matches - Returns true if
targetmatchesschema_nameeither unqualified or asdatabase.schema. - validate_
database_ ๐mod_ statements - Validate database mod file statements.
- validate_
schema_ ๐mod_ statements - Validate schema mod file statements and normalize names.