5329c3827c
* Fixed a few layout bugs in new documentation * Fixed documentation table of contents indentation bug in IE6 (fixes #344) * Fixed a parser bug in Sensei_Doc_Section * Restructrured a bit some files of the documentation.
17 lines
274 B
PHP
17 lines
274 B
PHP
|
|
<code type="php">
|
|
$q = new Doctrine_Query();
|
|
|
|
$q->from('User(COUNT(id))');
|
|
|
|
// returns an array
|
|
$a = $q->execute();
|
|
|
|
// selecting multiple aggregate values:
|
|
$q = new Doctrine_Query();
|
|
|
|
$q->from('User(COUNT(id)).Phonenumber(MAX(phonenumber))');
|
|
|
|
$a = $q->execute();
|
|
</code>
|