Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.35 KB

File metadata and controls

31 lines (22 loc) · 1.35 KB

DatabaseDefaultSchemaDecl

One schema declaration inside the database's default catalog at create time. Mirrors crate::source::ManagedSchemaDecl. Tables default to empty so callers can declare just a schema name and add tables later via the managed-tables API on the default connection.

Properties

Name Type Description Notes
name str
tables List[DatabaseDefaultTableDecl] [optional]

Example

from hotdata.models.database_default_schema_decl import DatabaseDefaultSchemaDecl

# TODO update the JSON string below
json = "{}"
# create an instance of DatabaseDefaultSchemaDecl from a JSON string
database_default_schema_decl_instance = DatabaseDefaultSchemaDecl.from_json(json)
# print the JSON string representation of the object
print(DatabaseDefaultSchemaDecl.to_json())

# convert the object into a dict
database_default_schema_decl_dict = database_default_schema_decl_instance.to_dict()
# create an instance of DatabaseDefaultSchemaDecl from a dict
database_default_schema_decl_from_dict = DatabaseDefaultSchemaDecl.from_dict(database_default_schema_decl_dict)

[Back to Model list] [Back to API list] [Back to README]