Datamapper icon indicating copy to clipboard operation
Datamapper copied to clipboard

Implement reference to current table in sub-queries

Open froddd opened this issue 13 years ago • 1 comments

Currently, subqueries allows referencing of the parent query table as ${parent}.fieldname.

In some cases (eg. when the column name might be deemed ambiguous), it would be useful to be able to reference the current subquery table as well.

The proposed way would be to follow the syntax for referencing the parent and use ${self}.fieldname.

froddd avatar Aug 30 '12 12:08 froddd

Added to the Datamapper 1.x issue tracker: https://bitbucket.org/wanwizard/datamapper/issue/79/implement-reference-to-current-table-in

WanWizard avatar Aug 31 '12 17:08 WanWizard