DOKK / manpages / debian 12 / libjifty-dbi-perl / Jifty::DBI::Filter::Duration.3pm.en
Jifty::DBI::Filter::Duration(3pm) User Contributed Perl Documentation Jifty::DBI::Filter::Duration(3pm)

Jifty::DBI::Filter::Duration - Encodes time durations

If value is defined, then encode it using "parse_duration" in Time::Duration::Parse, otherwise do nothing. If the value can't be parsed, then set it to undef.

If value is defined, then decode it using "duration_exact" in Time::Duration and "concise" in Time::Duration, otherwise do nothing.

Jifty::DBI::Filter, Time::Duration, Time::Duration::Parse

2022-06-15 perl v5.34.0