Medoo 写法:
// 下面是meedo写法
$data = $this->mysql->get('member_coupon_provide', [
'count_order' => Medoo::raw('COUNT(DISTINCT(<orderNo>))'),
], [
'sid' => $sid,
]);
return $data['count_order'];
标签:count,distinct,data,Medoo,sid,写法 From: https://www.cnblogs.com/imzhi/p/17237105.html