GroupBy SubString doesn't work

GroupBy SubString doesn't work

Postby LPCRoy » Fri 22 May 2009 00:45

This generates invalid SQL:

Code: Select all
dataContext.Table
     .GroupBy(x => x.StringValue.Substring(0, 1))
     .Select(x => new { StringText= x.Key,
                                 Count = x.Count(y => y.SomeFlag == true) });
LPCRoy
 
Posts: 7
Joined: Mon 18 May 2009 20:45

Postby AndreyR » Fri 22 May 2009 08:17

Thank you for the report. We have reproduced this problem too.
I will let you know when it's resolved.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby AndreyR » Tue 16 Jun 2009 14:21

This problem is also fixed, look forward to the upcoming build of dotConnect for PostgreSQL.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for PostgreSQL