[PerlChina] 关于DBIx::Class的一个查询问题。

rorot yang.liana at gmail.com
Mon Dec 24 22:33:05 PST 2007


诸位好,

      前段时间大家推荐DBIx::Class, 我用了,确实很好。但现在碰到一个问题。

      my $rs = $schema->resultset("table")->serach ({});

      现在有一个列叫做 permit, 如果要搜索permit & 0x4 = 1 的项,改如何写这个search呢?

rorot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20071225/01269a84/attachment.html 


More information about the China-pm mailing list