dm (version 0.2.8)

deprecated: Deprecated functions

Description

These functions are deprecated in favor of better alternatives. Most functions with the cdm_ prefix have an identical alternative with a dm_ prefix.

sql_schema_*() functions have been replaced with the corresponding db_schema_*() functions.

Usage

sql_schema_create(dest, schema, ...)

sql_schema_drop(dest, schema, force = FALSE, ...)

sql_schema_exists(dest, schema, ...)

sql_schema_list(dest, include_default = TRUE, ...)

check_if_subset(t1, c1, t2, c2)

check_cardinality(parent_table, pk_column, child_table, fk_column)

cdm_get_src(x)

cdm_get_con(x)

cdm_get_tables(x)

cdm_get_filter(x)

cdm_add_tbl(dm, ..., repair = "unique", quiet = FALSE)

cdm_rm_tbl(dm, ...)

cdm_copy_to( dest, dm, ..., types = NULL, overwrite = NULL, indexes = NULL, unique_indexes = NULL, set_key_constraints = TRUE, unique_table_names = FALSE, table_names = NULL, temporary = TRUE )

cdm_disambiguate_cols(dm, sep = ".", quiet = FALSE)

cdm_draw( dm, rankdir = "LR", col_attr = "column", view_type = "keys_only", columnArrows = TRUE, graph_attrs = "", node_attrs = "", edge_attrs = "", focus = NULL, graph_name = "Data Model" )

cdm_set_colors(dm, ...)

cdm_get_colors(dm)

cdm_get_available_colors()

cdm_filter(dm, table, ...)

cdm_nrow(dm)

cdm_flatten_to_tbl(dm, start, ..., join = left_join)

cdm_squash_to_tbl(dm, start, ..., join = left_join)

cdm_join_to_tbl(dm, table_1, table_2, join = left_join)

cdm_apply_filters(dm)

cdm_apply_filters_to_tbl(dm, table)

cdm_add_pk(dm, table, column, check = FALSE, force = FALSE)

cdm_add_fk(dm, table, column, ref_table, check = FALSE)

cdm_has_fk(dm, table, ref_table)

cdm_get_fk(dm, table, ref_table)

cdm_get_all_fks(dm)

cdm_rm_fk(dm, table, columns, ref_table)

cdm_enum_fk_candidates(dm, table, ref_table)

cdm_is_referenced(dm, table)

cdm_get_referencing_tables(dm, table)

cdm_learn_from_db(dest)

cdm_check_constraints(dm)

cdm_nycflights13(cycle = FALSE, color = TRUE, subset = TRUE)

cdm_paste(dm, select = FALSE, tab_width = 2)

cdm_has_pk(dm, table)

cdm_get_pk(dm, table)

cdm_get_all_pks(dm)

cdm_rm_pk(dm, table, rm_referencing_fks = FALSE)

cdm_enum_pk_candidates(dm, table)

cdm_select_tbl(dm, ...)

cdm_rename_tbl(dm, ...)

cdm_select(dm, table, ...)

cdm_rename(dm, table, ...)

cdm_zoom_to_tbl(dm, table)

cdm_insert_zoomed_tbl( dm, new_tbl_name = NULL, repair = "unique", quiet = FALSE )

cdm_update_zoomed_tbl(dm)

cdm_zoom_out(dm)

Arguments