一个用kdmMW写的三层的多表更新例子,kdmMW是一个三层FrameWork,速度比ASTA快,可能也要比Remobjects快(不过Remobjects也不错),准备用它开发三层系统了。-kdmMW write with a three-tier multi-table updates example, is a three-tier kdmMW FrameWork, speed faster than ASTA may also faster than Remobjects (although Remobjects also good), ready to use it to develop a three-tier system.
文 件 列 表
cn700_del58666787244 Server Client ProjectGroup1.~dsk ProjectGroup1.bpg ProjectGroup1.dsk Cn700.com.txt readme.htm readme.txt
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000983s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.064043s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001052s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001222s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000995s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.004755s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001090s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003920s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015348s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001144s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 294746 [ RunTime:0.015250s ]