$query = MyModel::find()->where(['not in','attribute',$array]);
參考
- Yii2 : Active Record add Not In condition
- Adding a custom WooCommerce product type
- How to Set Up WooCommerce Demo Data
原文地址:https://www.cnblogs.com/fsong/p/11336900.html
时间: 2024-10-11 13:33:31