79191957

Date: 2024-11-15 10:25:27
Score: 1
Natty:
Report link

The best I could do is

$nm = new Zend_Db_Table('emp');
$nm->_primary = 'your primery key column'
$count = $nm->select()->from($this->_name, 'COUNT(*)')->where("1 = 1")->query()->fetch();

you set your primary key and change condition

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ioan