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

CreateIndexes should check types of values within keys document

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      If the user happens to pass a non-scalar value within the keys document (i.e. index specification), PHP may produce a notice for an array-to-string conversion when the library attempts to construct an index name. Depending on the user's configuration, this notice could be ignored. Considering validating that all values within keys are scalars (or more strictly, numbers and strings).

      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: