【发布时间】:2014-12-31 13:14:21
【问题描述】:
我对杂货店 CRUD 和“set_relation_n_n”函数有疑问: http://www.grocerycrud.com/documentation/options_functions/set_relation_n_n
我想要“此表”、“关系表”和“选择表”中的字段。有没有办法做到这一点?这是我的架构(MySQL):
已编辑:
一些事情(目前):
这个表:timeline_events;
关系表:timeline_events_options;
选择表:timeline_events_tags;
id_timeline 是另一个表的外键(上图中未显示),event_id 是我现在使用的小部件所需的字段。 id_event 是来自timeline_events 的外键,id_event_tags 是来自timeline_events_tags 的外键。
非常感谢您的回答:)。
【问题讨论】:
标签: codeigniter codeigniter-2 grocery-crud