I am looking at the livedocs and I am unclear on how to use reactor when I
have relationships via linking table. I know how to get the data out but how
do I insert the data into the linking table?

Here is my reactor script

<object name="user">
  <hasMany name="roles">
       <link name="userroles" />
  </hasMany>
</object>

<object name="roles">
 <hasMany name="user">
      <link name="userroles" />
 </hasMany>
</object>

<object name=" userroles ">
  <hasOne name="user">
       <relate from="userId" to="userId" />
  </hasOne>
  <hasOne name="roles">
       <relate from="roleId" to="roleId" />
  </hasOne>
</object>


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to