MongoCursor SetFields not working with array of field names

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following won't compile:

      cursor.SetFields("a", "b", "c");

      The following compiles but doesn't work:

      cursor.SetFields(new[]

      { "a", "b", "c" }

      );

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Robert Stam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: