Hi,

I have found my way already.

After some reading of erlydb_base, I found that it's OK to write
  relations () -> [{one_to_many, [forum]}, {many_to_one, [forum]}].

Now I can access one's parent forum by forum:forum and access childern
with
forum:forums.


Regards,
Takayoshi Kyou
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to