| export_core_tables_to_yaml |
export_core_tables_to_yaml(package: str = '', mode: str = '') |
Exports core database tables to YAML format and stores the output in a |
| export_package_tables_to_yaml |
export_package_tables_to_yaml(package: str = '', mode: str = '') -> str |
Exports tables of a specific package to YAML format. |
| clear_tables_to_yaml |
clear_tables_to_yaml(table_names: str, target_package: str, mode: str = '') -> None |
Deletes and recreates a specific directory for storing table |
| export_tables_to_yaml |
export_tables_to_yaml(table_names: str, target_package: str, mode: str = '') -> None |
Export tables to YAML format. |
| data_to_yaml |
data_to_yaml(table_name: str) -> dict |
Generates a YAML structure representing the table schema, including |
| write_yaml |
write_yaml(file_path, yaml_data) |
|
| export_coredata_to_config |
export_coredata_to_config(package = '') |
|
| export_packagedata_to_config |
export_packagedata_to_config(package = '') |
|
| export_data_to_config |
export_data_to_config(target_schema: str, where_items: str) -> None |
|
| read_yaml |
read_yaml(remote_folder: str, file_name: str) -> dict |
Reads a YAML file from a specified remote folder and file name and |
| create_table |
create_table(table, table_dict) |
Generate SQL CREATE TABLE statement dynamically. |
| add_create_columns |
add_create_columns(remote_db, def_base, table: str) |
Adds columns to a table in the remote database based on column |
| add_append_columns |
add_append_columns(remote_db, def_base, table: str) |
Add and append new columns to a remote database table based on the |
| compare_tables_structure |
compare_tables_structure(remote_db, base_folder: str, remote_folder: str) |
Compares the table structures between the base folder and remote folder, |
| replace_into_table_data |
replace_into_table_data(package_schema = '') -> dict |
|
| create_database |
create_database(package: str) |
Creates a database with the name {package}db.axion if it does not |