Apologies. I have both sqlite 2.8.17 and sqlite 3.7.4-2 installed. Is there any way I can force sequel to use the sqlite3 version? (I think that is the issue)?
- Abhijit. On Monday, 10 September 2012 22:51:46 UTC+5:30, abhijit wrote: > > 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/-/UOsZK6v6278J. 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.
