Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-875

Collection::createIndex docs should direct users to server manual for index options

    XMLWordPrintableJSON

Details

    • Task
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • None
    • Docs
    • None

    Description

      The API reference for Collection::createIndex() lists some index options, but has not been updated for new options since introduced in the server. Rather than try to keep this in sync, I think it'd be preferable to reduce the documentation to essential options and clearly point users to createIndexes in the server manual for a canonical list of supported options.

      This came up in a code review for PHPLIB-856, since we do not document collection options for Database::modifyCollection.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: