Ticket #186 (new enhancement)

Opened 3 months ago

Reactor should support shortcuts in cfquery in Gateway objects

Reported by: TomChiverton Owned by: dhughes
Type: enhancement Priority: normal
Milestone: Reactor 2.0 Alpha Component: Reactor - Core Framework
Version: Severity: normal
Keywords: Cc:

Description

i.e.
<cfquery .....
select #allFieldsForObject(this)#
from #tableForObject(this)#,#tableForObject('otherObject')#
where #fieldForObject('fieldA',this)# = #fieldForObject('fieldB','otherObject')#
</cfquery>
or
<cfquery .....
select this.ALLFIELDS
from this,otherObject
where this.fieldA = otherObject.fieldB
</cfquery>
or similar.
This is handy in other ORM like Transfer.

Note: See TracTickets for help on using tickets.