Hi all,
I'm relatively new to reactor and have a basic "hasMany" setup and get
<object name="tblproduct">
<hasMany name="tblProductPropertyItem">
<relate from="productId" to="productId" />
</hasMany>
</object>
<cfset productRecord = Application.ReactorProducts.createRecord
("tblproduct") />
<cfset productRecord.setProductId(url.prodid) />
<cfset productRecord = productRecord.load() />
<cfset productdetails = productRecord.gettblProductPropertyItemIterator
()>
When I dump "productdetails" the iterator method is there, I've also tried "gettblProductPropertyItemIterator().getquery()" but still errors same.
I can do a "hasOne" fine, but when I do a "hasMany" and use the Iterator it chucks a wobbly
Parameter validation error for function QUERYADDCOLUMN.
The function takes 3 parameters.
The error occurred in C:\CFusionMX\wwwroot\reactorCore\iterator\iterator.cfc: line 435
Sorry for the vagueness,
Thanks
Matt
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- [Reactor for CF] iterator issue M@ Bourke
- RE: [Reactor for CF] iterator issue Doug Hughes
- RE: [Reactor for CF] iterator issue João Fernandes

