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

Don't work sub array query

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Linq, LINQ3
    • Labels:

      This query success compile and run. But, result is not right!

      Example:

                  var cursor = from uc in usersCollection.AsQueryable()
                               join cc in candlesCollection.AsQueryable() on uc.Pairs.First(p=>p.Name == "CAD_HKD").Id equals cc.UserPairId into joined
                               select new { uc.FirstName, uc.LastName, Count =  joined.Count()};
      

      This code return 50 records, but every propery "Count" = 0! It is not right, because data exist in the collection!

            Assignee:
            Unassigned Unassigned
            Reporter:
            boniface Vorobjev Valery
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: