Commit c39c7518 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 18944f39
......@@ -661,6 +661,15 @@ class Doctrine_Expression extends Doctrine_Connection_Module
{
throw new Doctrine_Expression_Exception('method not implemented');
}
/**
* returns arcus cosine SQL string
*
* @return string
*/
public function acos($value)
{
return 'ACOS(' . $value . ')';
}
/**
* __call
*
......@@ -671,5 +680,6 @@ class Doctrine_Expression extends Doctrine_Connection_Module
if ($this->conn->getAttribute(Doctrine::ATTR_PORTABILITY) & Doctrine::PORTABILITY_EXPR) {
throw new Doctrine_Expression_Exception('Unknown expression ' . $m);
}
return $m . '()';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment