Commit 1ae9564c authored by catch's avatar catch
Browse files

Issue #1923816 by alexpott, quietone, ayushmishra206, jhodgdon, chx, Lendude:...

Issue #1923816 by alexpott, quietone, ayushmishra206, jhodgdon, chx, Lendude: Fix code example that referes to non-existent function in QueryAggregateInterface
parent fe005647
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -141,13 +141,12 @@ public function sortAggregate($field, $function, $direction = 'ASC', $langcode =
   *       ->aggregate('nid', 'count')
   *       ->condition('status', 1)
   *       ->groupby('type')
   *   ->executeAggregate();
   *       ->execute();
   *   @endcode
   *   Will return:
   *   @code
   *     $result[0] = array('count_nid' => 3, 'type' => 'page');
   * $result[1] = array('count_nid' => 1, 'type' => 'poll');
   * $result[2] = array('count_nid' => 4, 'type' => 'story');
   *     $result[1] = array('count_nid' => 4, 'type' => 'article');
   *   @endcode
   */
  public function execute();