advsql group by

4 views
Skip to first unread message

andreacfm

unread,
Aug 14, 2009, 9:34:09 AM8/14/09
to DataMgr
Hi Steve,

how are we supposed to write adsql for group by and order by:

advsql.group_by
or
advsql.groupby

or ??

Both seems do nto work. Any suggestion??

Thanks

Andrea

Steve Bryant

unread,
Aug 16, 2009, 10:12:00 AM8/16/09
to dat...@googlegroups.com
Andrea,

Right now it actually has to be advsql["group by"]. I could certainly
add support for advsql.group_by in the next version if that would be
easier.

Steve

Andrea Campolonghi

unread,
Aug 16, 2009, 10:20:40 AM8/16/09
to dat...@googlegroups.com
Is not a problem is just unusual a var with a space.
Don't you think??

Andrea

Steve Bryant

unread,
Aug 16, 2009, 10:31:00 PM8/16/09
to dat...@googlegroups.com
Yeah, that was a difficult choice for me. On one hand, I thought that
a structure key named "group by" (or "order by") is unusual. On the
other hand, it made sense to just name the keys exactly the same as
the SQL statements.

Maybe I will just allow "group_by" or group_by in the next build.

Steve

Reply all
Reply to author
Forward
0 new messages