Changeset 4810
- Timestamp:
- 08/26/08 00:29:21 (5 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Expression/Driver.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Expression/Driver.php
r4252 r4810 741 741 * @param string $value 742 742 * @return void 743 * @author Jonathan H. Wage744 743 */ 745 744 public function cos($value) 746 745 { 747 746 return 'COS(' . $value . ')'; 747 } 748 749 /** 750 * coalesce 751 * 752 * @return string 753 */ 754 public function coalesce() 755 { 756 $args = func_get_args(); 757 758 return 'COALESCE(' . join(', ', (array) $args) . ')'; 748 759 } 749 760