Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11104

Comment on: "manual/reference/command/listDatabases"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Works as Designed
    • None
    • None
    • None

    Description

      how can i list the database name only i'm using this code
      $client = new MongoDB\Client;
      $parn = $client->listDatabases();

      foreach ($parn as $databaseInfo)

      { var_dump($parn); }

      please help me to solve this problem im not using mongodb 3.6

      Attachments

        Issue Links

          Activity

            People

              stephen.steneker@mongodb.com Stennie Steneker (Inactive)
              xgen-internal-docs Docs Collector User (Inactive)
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 25 weeks ago