> On Sat, Aug 14, 2010 at 6:37 PM, Adam Michel <
awmiche...@gmail.com> wrote:
> > I've been trying to use SQL functions such as YEAR() and MONTH() in a
> > where clause. Something like this:
>
> > <cfset dateList = model("date").findAll(where="YEAR(date) =
> > '#Year(Now())#'")>
>
> > I've tried a few variations as well with no luck using any of them. I
> > always get the following error back:
> > "Element at position [1] doesn't exist in array" from wheels\model
> > \crud.cfm: line 1232
>
> > It looks like Wheels is trying to parse the SQL function instead of
> > simply passing it through.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ColdFusion on Wheels" group.
> > To post to this group, send email to
cfwh...@googlegroups.com.
> > To unsubscribe from this group, send email to