Bla*_*icz 5 perl orm perl-module dbix-class
我在 perl 脚本中使用 DBIx::Class 与 sqlite 数据库进行交互。
在进行插入/搜索时,DBIx::Class 会考虑“真”和“假”什么?
例如:
$schema->resultset('SomeObject')->create({ some_boolean => 1, primary_key => 1 });
$schema->resultset('SomeObject')->search({ some_boolean => 'true' });
感谢任何帮助或文档(我无法在 DBIx::Class 文档中找到它,但也许我遗漏了一些东西。
提前致谢。