dbTypecast() public method
Converts the input value according to $type and $dbType for use in a db query.
If the value is null or an yii\db\Expression, it will not be converted.
public mixed dbTypecast ( $value ) | ||
---|---|---|
$value | mixed |
Input value |
return | mixed |
Converted value. This may also be an array containing the value as the first element and the PDO type as the second element. |
Please login to continue.