Assign the result of a simple query to a variable/parameter with different structure

By Ricardo Araújo on 26 May 2010

Specially when we are integrating with other systems we need to create an structure to send just 2 attributes of our Entity, and in those cases we need to design an advanced query instead of doing a simple query to retrieve that 2 attributes.

Diogo Cordeiro27 Aug 2011
Hmmm, this makes me question of when is that "intelligence" of the compiler working.

I question this because there are some situations when the compiler analyses the use of the query outputs, and builds the query with only the needed attribute.
(Or i have i seen this in a dream? )


I'm happy to announce that your idea is already available on the last release of the OutSystems platform 10.

Thank you for your time and collaboration in making OutSystems platform better.