This form of TRANSFORM is a shorthand version of Inline TRANSFORMs. In this form,
TRANSFORM(LEFT)
is directly equivalent to
TRANSFORM(RECORDOF(LEFT), SELF := LEFT)
Example:
namesIdRecord assignId(namesRecord L) := TRANSFORM
SELF := L; //move like-named fields across
END;
projected1 := PROJECT(namesTable, assignId(LEFT));
projected2 := PROJECT(namesTable, TRANSFORM(namesIdRecord,
SELF := LEFT));
projected3 := PROJECT(namesTable, TRANSFORM(LEFT));
//projected1, projected2, and projected3 all do the same thing
See Also: RECORD Structure, RECORDOF, TYPEOF, JOIN, PROJECT, ITERATE, ROLLUP, NORMALIZE, DENORMALIZE, FETCH, PARSE, ROW