From: Nicolas Boisselier Date: Thu, 27 Oct 2016 14:43:28 +0000 (+0200) Subject: table count rty X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=0cc433c3f2aacf17c29363af0acc7d886591df64;p=nb.git table count rty --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index fd8741bb..e6826e89 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1740,6 +1740,7 @@ Class Table extends nb { if (is_array($this->status[$k])) $this->status[$k] = count($this->status[$k]); } + #if (empty($this->status['count']) and $this->p('db.count')) $this->status['count'] = $this->count(); #debug([$this->name,$this->status,$this->sql()]); if (!empty($key)) return ( empty($this->status[$key]) ? '' : $this->status[$key] ); return $this->status;