dm
object from a database (DB)If there are any permament tables on a DB, a new dm
object can be created that contains those tables,
along with their primary and foreign key constraints.
Currently this only works with MSSQL and Postgres databases.
The default database schema will be used; it is currently not possible to parametrize the funcion with a specific database schema.
cdm_learn_from_db(dest)
A src
-object on a DB or a connection to a DB.
A dm
object with the tables from the DB and the respective key relations.
Other DB interaction functions:
cdm_copy_to()