81 | | s3db.add_components("org_organisation", org_office="organisation_id") |
82 | | }}} |
83 | | |
84 | | This assumes that the component alias is the same as the name of the component table without prefix, e.g. {{{tablename = "org_office" => component alias = "office"}}}. If you want set the alias explicitly, you can instead describe the join in a dict: |
| 81 | s3db.add_components("org_organisation", |
| 82 | org_office="organisation_id", |
| 83 | ) |
| 84 | }}} |
| 85 | |
| 86 | This assumes that the component alias is the same as the name of the component table without prefix, e.g. {{{tablename = "org_office" => component alias = "office"}}}. |
| 87 | |
| 88 | If you want set the alias explicitly, you can instead describe the join in a dict: |