[Dbix-class] Bind parameters in select list and group by on Pg

Will Crawford billcrawford1970 at gmail.com
Fri Oct 28 12:49:58 GMT 2011


On 28 October 2011 11:37, dorian taylor <dorian.taylor.lists at gmail.com> wrote:

> Interesting, because the literal would be "interval '6 months'", which
> unless I'm huffing paint would translate to "interval ?". :)

Mmm, paint ....

I think it's "interval" "6" "month(s?)" which would translate to
"interval ? ?" ... but the months/ whatever is a keyword not a string,
and I don't think you can use placeholders for that. So you'd want
"interval ? month" maybe?



More information about the DBIx-Class mailing list