Add selectId alias
This commit is contained in:
@@ -687,6 +687,11 @@ class Db extends PhpObject
|
|||||||
$oResult = $this->selectRow($sTableName, $oConstraints, $sColumnName);
|
$oResult = $this->selectRow($sTableName, $oConstraints, $sColumnName);
|
||||||
return empty($oResult)?false:$oResult;
|
return empty($oResult)?false:$oResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function selectId($sTableName, $oConstraints)
|
||||||
|
{
|
||||||
|
return $this->selectValue($sTableName, self::getId($sTableName), $oConstraints);
|
||||||
|
}
|
||||||
|
|
||||||
public function pingValue($sTableName, $oConstraints)
|
public function pingValue($sTableName, $oConstraints)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user