Postgresql 如何在dbix:class中实现lower()(postresql)
我需要postgresql查询:Postgresql 如何在dbix:class中实现lower()(postresql),postgresql,dbix-class,Postgresql,Dbix Class,我需要postgresql查询: 从文件中选择*,其中较低(应用程序周期)='2019-08-01 00:00:00+03' 它在dbix::class中的外观如何?包含一个这样的示例。在dbix::class中,它看起来像: $rs->search( \[ 'lower(app_period) = ?', $start ] ); 使用一些参数: $rs->search({ -and => [ agreement_id => $id, \[ 'lower(a
从文件中选择*,其中较低(应用程序周期)='2019-08-01 00:00:00+03'代码>
它在dbix::class中的外观如何?包含一个这样的示例。在dbix::class中,它看起来像:
$rs->search(
\[ 'lower(app_period) = ?', $start ]
);
使用一些参数:
$rs->search({ -and => [
agreement_id => $id,
\[ 'lower(app_period) = ?', $start ]
]});