统计当前查询返回数据
int Driver_Database_Driver_Postgre_Result::total_count( )
int
23242526272829protected function total_count(){ $count = @pg_num_rows($this->_result); if (!$count>0)$count = 0; return $count;}
protected
function
total_count()
{
$count
= @pg_num_rows(
$this
->_result);
if
(!
>0)
= 0;
return
;
}