本文介绍了缺少QQ :: NotIn()的参数2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我收到错误 '错误的参数2为QQ :: NotIn()' 用于写入查询,如下所示 $ objPurchs = Dealerprice :: QueryArray($ objptt-> Product,QQ :: NotIn(QQN :: DpmixHasProductdetail1() - > ProductdetailIdproductdetail)); 解决方案 objPurchs = Dealerprice :: QueryArray( objptt-> Product,QQ :: NotIn(QQN :: DpmixHasProductdetail1() - > ProductdetailIdproductdetail)); 错误说QQ :: NotIn()函数除了 QQN :: DpmixHasProductdetail1之外还期待第二个参数( ) - > ProductdetailIdproductdetail I am getting error as'Missing argument 2 for QQ::NotIn()'for writting query as below $objPurchs = Dealerprice::QueryArray($objptt->Product, QQ::NotIn(QQN::DpmixHasProductdetail1()->ProductdetailIdproductdetail)); 解决方案 objPurchs = Dealerprice::QueryArray(objptt->Product, QQ::NotIn(QQN::DpmixHasProductdetail1()->ProductdetailIdproductdetail));The error says that "QQ::NotIn()" function is expecting a second argument in addition to QQN::DpmixHasProductdetail1()->ProductdetailIdproductdetail 这篇关于缺少QQ :: NotIn()的参数2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-29 07:20