thinkphp 原生sql 怎么写?

【编程】 thinkphp 原生sql 怎么写?

--------------------------------------------

傻大方资讯为您精选的网友回复(供您参考):

[操作系统]$Model = M();$Model->execute('INSERT INTO `shopinglisting`(goods,ordertime) SELECT goods,ordertime FROM shopingcart WHERE ordertime = $ordertime');

--------------------------------------------