dongxia4880 2013-10-21 06:02
浏览 54
已采纳

如何使用SugarBean将数据插入到模块的子表中

How do I insert a data in a sub-table of a module? for example I have this module: MainModule it's table is mainmodule, and the module's sub-table is mainmodule_sub.

so I wanna know how to insert a data into mainmodule_sub using SugarBean.

For a clearer view:

the problem is most of the modules only have the main_tables and _cstm tables, and not all modules have one or two tables; so I just wanna know how to insert data into the third_table let's say for example the ProspectLists module and it has this 5 tables namely prospect_lists, prospect_lists_cstm, prospect_lists_prospect, prospect_lists_campaign, and so on..

how do I insert the data into prospect_lists_prospect?

  • 写回答

3条回答 默认 最新

  • duanfu3884 2013-10-24 03:14
    关注

    As I have been through asking question from Stack to the Developers, and as of now it's either you create your own API for it to be done or make your own local call/insertion via SQL because only the main_tables and _cstm tables are connected to each ModuleAPI.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100