--- title: "InjectTable" slug: "injecttables" updated: 2023-07-11T15:44:15Z published: 2023-07-11T15:44:15Z canonical: "docs.datajet.app/injecttables" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # InjectTables **PROTOTYPE** Injects shared tables (and joins) from a source project into another project. | Key | Value(s) | Description | | --- | --- | --- | | method | "InjectTables" | Injects shared tables (and joins) from a source project into another project. | | sourceProject | "NameOfSourceProject" | Required. The project containing the source tables. Must exist and must be on the same realm as the target project. | | targetProject | "NameOfTargetProject" | Required. The project to receive the injected tables. Must exist and be on same realm as the source project. | | project | "ActiveProjectName" | | | sourceTables[] | [ "sTable1", "sTable2", "*" ] | Required. List of tables to inject. To inject all tables from the source project, use "*" and remove the targetTables parameter. | | targetTables[] | [ "tTable1", "tTable2", "*" ] | Required. Names of tables to inject. Number of tables must match number of tables in sourceTables, and order must match. e.g., sTable1 -> tTable1, sTable2 -> tTable2 etc | | includeJoins | true/false | If true, all joins between tables in sourceTables[] list will be imported. If false, no joins will exist between injected tables. | Notes on injected Tables: - Source and Target Projects must be on the same realm - Deleting the Source Table in the Source Project will delete the Target Table in the Target Project - Source Table Fields cannot be altered in the target project - source-table fields are displayed in green. - Source Table Fields cannot be deleted in the target project - attempting to do so will give "Error deleting field. permission denied (1008)" See Also: ```json { "method": "InjectTables", "project": "test", "sourceProject": "DataSource_01", "sourceTables": [ "Customers", "Transactions" ], "targetTables": [ "Cust_DS01", "Trans_DS01" ], "targetProject": "AllDataSource_01", "includeJoins": true } ``` ## Related - [InjectPackage](/injectpackage.md)