I get the following error - 

undefined method `extract' for Sequel:Module (NoMethodError)

I'm using sequel version 3.29.0 and sqlite version 2.8.17

Is it supported in a higher version of sqlite?

Thanks,
 - Abhijit.

On Monday, 10 September 2012 20:36:52 UTC+5:30, Jeremy Evans wrote:
>
> On Monday, September 10, 2012 1:41:07 AM UTC-7, abhijit wrote:
>>
>> I have a table with a date column where date is stored in this format -
>> 2012-08-01 16:39:17.601455+0530
>>
>> How do I 'group' or 'group_and_count' on this column by 'month'?
>>
>
>    dataset.group(Sequel.extract(:month, :date_column))
>
> Jeremy
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/9Yw5z80bsfEJ.
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/sequel-talk?hl=en.

Reply via email to