thinkphp3 count `*` 的问题

// /ThinkPHP/Library/Think/Model.class.php

// 统计查询的实现
// $field = isset($args[0]) ? $args[0] : '*';
// return $this->getField(strtoupper($method) . '(' . $this->db->parseKey($field, true) . ') AS tp_' . $method);

// 统计查询的实现
$field = isset($args[0]) ? $args[0] : '*';
return $this->getField(strtoupper($method) . '(' . $field . ') AS tp_' . $method);

posted on 2022-09-09 10:41  小馬過河﹎  阅读(141)  评论(0)    收藏  举报

导航