C# Driver
  1. C# Driver
  2. CSHARP-456

Support linq projections to only pull back referenced fields.

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Minor - P4 Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.2
    • Fix Version/s: Planned but not Scheduled
    • Component/s: None
    • Labels:
    • # Replies:
      49
    • Last comment by Customer:
      true

      Description

      It should only pull back fields required for projection. In addition, it should support these forms
      1) simple projections: x.FirstName
      2) complex projections: x.FirstName + " " + x.LastName
      3) anonymous projections: new { Name = x.FirstName + " " + x.LastName
      4) class Projections: new PersonName(x.FirstName, x.LastName)

      { Age = x.BirthDate.ToAge() }

      );

        Issue Links

          Activity

          Hide
          Pete Smith
          added a comment - - edited

          Any updates on this one? Would be really useful for us!

          Show
          Pete Smith
          added a comment - - edited Any updates on this one? Would be really useful for us!
          Hide
          Craig Wilson
          added a comment -

          You'll want to track CSHARP-601.

          Show
          Craig Wilson
          added a comment - You'll want to track CSHARP-601 .
          Hide
          Pete Smith
          added a comment -

          Will do... let me know if there's anything I might be able to assist with.

          Show
          Pete Smith
          added a comment - Will do... let me know if there's anything I might be able to assist with.
          Hide
          Adam Baldwin
          added a comment -

          Same here, this is killing our ability to use linq queries on large documents

          Show
          Adam Baldwin
          added a comment - Same here, this is killing our ability to use linq queries on large documents
          Hide
          Olivier Ducros
          added a comment -

          Same problem here, should not be a minor bug, the problem is hidden and unexpected.

          Show
          Olivier Ducros
          added a comment - Same problem here, should not be a minor bug, the problem is hidden and unexpected.

            People

            • Votes:
              48 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since reply:
                19 weeks, 5 days ago
                Date of 1st Reply: