2014-07-08から1日間の記事一覧

DBIx::Customのwhere節

bindするデータタイプを指定したくてDBIx::Simple 1.35からDBIx::Custom 0.3に移行したのだが、where節に単純な条件しか指定できないことに気づいた。 $where{field_a} = [ undef, { '!=' => $value }, ]; を渡すと、 field_a is null or field_a != ? では…