snowflake.core.schema.SchemaResource¶
- class snowflake.core.schema.SchemaResource(name: str, collection: SchemaCollection)¶
Bases:
ObjectReferenceMixin[SchemaCollection]Attributes
- cortex_search_services¶
- database¶
- dynamic_tables¶
- functions¶
- image_repositories¶
- root¶
- services¶
- stages¶
- tables¶
- tasks¶
Methods
- __init__(name: str, collection: SchemaCollection) None¶
- create_or_alter(schema: ModelSchemaModel) SchemaResource¶
Create or alter a schema in Snowflake.
- create_or_update(schema: ModelSchemaModel) SchemaResource¶
- delete() None¶
Delete this Schema.
- drop() None¶
Drop this Schema.
- fetch() ModelSchemaModel¶
- undrop() None¶
Undrop this Schema.