I'm using the following code in an attempt to bind NULL to an integer column on a MySQL table:
$query->bindValue(1, null, \PDO::PARAM_INT);
However, this causes the value in the column to be "0" instead of NULL.
How can I force the column to be NULL instead of 0?