2015-02-10 16 views
0

我有三個表鏈接redbeans

USER 
    user_id,name 

EVENT 
    event_id, name,desc 

PARTICIPATION 
    id, type 
    1 yes 
    2 no 
    3 maybe 

我想處理表user_event_participation

id , user_id,event_id,participation_id 
1  1  1   3 

在這些關係,我怎麼能在redbeans做

+0

有人可以提出任何建議嗎? – alwaysLearn 2015-02-11 05:51:59

回答