[Dbix-class] Does DBIx::Class support postgresql arrays and ANY syntax?

Joel Bernstein joel at fysh.org
Wed Feb 18 11:18:47 GMT 2009


2009/2/18 Joel Bernstein <joel at fysh.org>:
> Why do you feel that is a hack? It seems equivalent to your original query..
>  $rs->search({ 1 => \'sql literal here', })
> It's a perfectly common idiom so I'm not too sure why you feel it's hacky?

I suppose you meant, it feels like a hack to use a SQL literal to
mimic the original query, and does DBIC have a more logical way to
achieve it?

I'm not sure that it does..

/joel



More information about the DBIx-Class mailing list