Check out the erlydb_mysql module. It should have the 'q' and 'q2' functions.

On Wed, Apr 8, 2009 at 4:24 AM, Ruud <[email protected]> wrote:
>
> Thanx,
> But doing a SUM in the SELECT tag,SUM(weight) ... query is not
> possible
> regards, Ruud
>
> On Apr 7, 8:52 pm, Buggaboo <[email protected]> wrote:
>> See this 
>> example:http://www.google.com/codesearch?q=esql+package%3Ahttp%3A%2F%2Ferlywog\.googlecode\.com&origq=esql&btnG=Search+Trunk
>>
>> See this previous discussion:http://markmail.org/message/3pu4nthehzuuamen
>>
>> See this blog 
>> entry:http://yarivsblog.com/articles/2006/09/16/introducing-erlsql-easy-exp...
>>
>> On Apr 7, 4:04 pm, Ruud <[email protected]> wrote:
>>
>> > Hi,
>> > Is it possible to do a custom query with erlydb?
>> > Or make a query like
>> > SELECT tag,SUM(weight),channel_id FROM tag GROUP BY channel_id,tag;
>> > regards, Ruud
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" 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/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to