---
name: "Jifty::DBI::Filter::Boolean"
section: "3pm"
platform: "linux"
package: "libjifty-dbi-perl"
version: "0.78-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::DBI::Filter::Boolean"
---

# Jifty::DBI::Filter::Boolean(3pm)

Encodes booleans

## NAME

Jifty::DBI::Filter::Boolean - Encodes booleans

## DESCRIPTION

### decode

Transform the value into 1 or 0 so Perl's concept of the value agrees with the database's concept of the value. (For example, 't' and 'f' might be used in the database, but 'f' is true in Perl)

### encode

Transform the value to the canonical true or false value as expected by the database.

## SEE ALSO

Jifty::DBI::Filter
