[PEAK] Progress on peak.schema
Niki Spahiev
niki at vintech.bg
Wed Mar 2 07:22:32 EST 2005
Phillip J. Eby wrote:
> At 11:03 AM 3/1/05 +0200, Niki Spahiev wrote:
>
>> Phillip J. Eby wrote:
>> [..]
>>
>>> Anyway, here's a couple of ways to express the same simple query
>>> using the "bulletins" example schema::
>>> aUser = ws.groupBy(User.loginId)['joe']
>>> aUser = ws[User.loginId.eq('joe')]
>>
>>
>> Has ws.groupBy any connection to SQL group by? If not it's confusing.
>
>
> Some. Actually, I just realized that the above is wrong, it should be:
>
> aUser, = ws.groupBy(User.loginId)['joe']
OK. It's clear for me now. If loginId is not unique we will get longer
set right?
[...]
>
> Anyway, do you have an alternate suggestion for the operation's name?
No need for other name.
Niki Spahiev
More information about the PEAK
mailing list