And second, if my query needs to join to a table outside the current object for some reason, I would want to be able to get the table name for *any* alias that I give it.
On 4/12/06,
João Fernandes <[EMAIL PROTECTED]> wrote:
Your gateway has a private function getObjectMetadata() that will return a reactor.base.abstractMetadata object.
That object has several methods like getAlias() ;)
so you could use
<cffunction name="myCustomGatewayMethod">
select *
from #getObjectMetadata().getAlias()# where ...
</cffunction>
Not tested but it should work
João Fernandes
-- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

