Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1138

Add IndexOfName method to BsonDocument

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Bson
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      C# Sprint 12

      Description

      Add a method called IndexOfName that can be used to find the position of an element in a BsonDocument.

      For example:

      var idIndex = document.IndexOfName("_id");

        Attachments

          Activity

            People

            Assignee:
            rstam Robert Stam
            Reporter:
            rstam Robert Stam
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: