//ads: ?> Trying to iterate over a mongodb cursor twice - failingphpmongodb PHP Snippet 1: $rows = $m->executeQuery('widgets.play_summary', $query); return $rows->toArray();