[Dbix-class] find_or_create problem with Pg: proposed patch

Alex Povolotsky tarkhil at over.ru
Sat Apr 5 19:01:58 BST 2008


Jess Robinson wrote:
>
>
>>
>> Well, how do you pass DEFAULT (not 'DEFAULT' string, but DEFAULT SQL 
>> keyword) to DBI?
>>
>
> Using a literal string like that:
>
> { mycol => \'DEFAULT' }
perl with use strict should complaint on this. Without use strict - 
complaint as well.

Alex.




More information about the DBIx-Class mailing list