Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-13

Emtpy Query Result should still return QueryResult

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.1
    • Affects Version/s: 0.1.0
    • Component/s: None
    • None

      <?php
      
      $manager = new MongoDB\Manager("mongodb://localhost:27017");
      
      $q = new MongoDB\Query(array());
      $qr = $manager->executeQuery("test.foobar", $q);
      var_dump($qr);
      

      Currently returns NULL

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: