📌  相关文章
📜  woocommerce sql 查询从类别中提取产品 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.459000             🧑  作者: Mango

代码示例1
SELECT * from `wp_term_relationships` where term_taxonomy_id=$subcatId and object_id in(select ID from `wp_posts` where `post_type`='product' and post_status='publish' and ID=wp_term_relationships.object_id) LIMIT 0,15000000