When a `Param` is encountered, use `db_value()` when possible.