---json { "aliases": [ { "path": ":docs:tabli:data:dep" } ], "page_id": "ldiv2tbyt17d6rqrastqk" } --- ====== Tabul - Data Dependency ====== ===== About ===== ''data dep'' is an operations that list the [[docs:resource:dependency|dependency]] between [[docs:resource:resource|data resources]]. ===== Syntax ===== tabul data dep --help Tabul data dependency ===================== List the data dependencies (foreign key, view, ...) Examples -------- 1 - To list the dependencies of the tpcds connection: tabul data dependency *@tpcds 2 - To list the foreign keys dependencies of the `sales` star schema asks the fact table `f_sales` in the the sqlite connection and its dependencies : tabul data dependency --with-dependencies f_sales@sqlite Syntax ------ tabul data dependency [options|flags] where: Arguments: One or more data or script selectors Selection Options: --strict-selection If set the selection will return an error if no data resources have been selected -wd,--with-dependencies If set, the dependencies will be also selected Global Options: -ah,--app-home The app home directory (default to the .tabul.yml file directory) -vf,--conf The path to a configuration file -ee,--exec-env The execution environment (prod or dev) -h,--help Print this help -l,--log-level Set the log level -ns,--not-strict A minor error will not stop the process. -odu,--output-data-uri defines the output data uri for the feedback data (default: console) -oo,--output-operation defines the data operations (replace, truncate) on an existing output resource before transfer. -oop,--output-transfer-operation defines the output transfer operation (insert, update, merge, copy). Default to `copy` for a file system and `insert` for a database. -pp,--passphrase A passphrase (master password) to decrypt the encrypted vault values (Env: TABUL_PASSPHRASE) --pipe-mode Use pipe mode if you want to pipe the output in a shell. Pipe mode will not print the headers (ie column name) and will not make the control character visible -v,--version Print version information where: * ''TableUri'' is a [[docs:resource:sql_table#uri|Table Uri]]