This may just be an issue to log on the trac site...
Untill the rewrite of OO queries I was using Something like this:
<!--- get where object--->
<cfset where = query.getWhere()>
<!--- set where criteria--->
<CFSET
where.isEqual("Lexicon","languageID",arguments.language).isnull("Lexicon","organizationID")
/>
<!--- pass where back into query and pass to gateway:--->
<CFSET query.setWhere(where) />
<CFSET results = linkGateway.getbyQuery(query) />
This method no longer works, there is no setwhere() when I dump the
query object anymore.
I tried something like this where the setwhere was:
<CFSET query.renderWhere(query,'mssql') />
and I get an error, it is looking for getwhere() inside the where.cfc:
The method 'getWhere' could not be found in component
C:\Inetpub\wwwroot\WebFiles\reactor\query\where.cfc. which is being
called on line 220 in the query.cfc
This line looks funny to me as it is calling
Query.getWhere().getWhere(), but I don't see a getWhere() inside
where, just a getWhereCommands(). I just don't understand how the new
rendered queries work.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --