Add Database::getGridFSBucket() to replace selectGridFSBucket()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 2.2.0
    • Affects Version/s: None
    • Component/s: GridFS
    • None
    • None
    • PHP Drivers
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      Examples that use Database::selectGridFSBucket should switch to using getGridFSBucket
      3. Which versions of the driver/connector does this apply to?
      2.2.0

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? Examples that use Database::selectGridFSBucket should switch to using getGridFSBucket 3. Which versions of the driver/connector does this apply to? 2.2.0
    • None
    • None
    • None
    • None
    • None
    • None

      • Rename Database::getGridFSBucket() to selectGridFSBucket()
      • Create Database::selectGridFSBucket() to call getGridFSBucket()

      This ensures consistency with other drivers and the methods Database::getCollection and Client::getDatabase.

            Assignee:
            Andreas Braun
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: