On Fri, Nov 27, 2009 at 10:07 PM, Joern <[email protected]> wrote:
> Hi there,
>
> is it possible, to create a select statement like "SELECT user_id,
> count(*) FROM table GROUP BY user_id" with the MetaMapper?
>
No. Sorry.
You could do:
DB.runQuery("SELECT user_id, count(*) FROM table GROUP BY user_id", Nil)
> I want to let users get statistical information about some tables like
> "how many news did that guy / the top 5 posters write" or "how many
> news are in each category".
>
> Thanks,
> Joern
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.