php-cassandra-binary icon indicating copy to clipboard operation
php-cassandra-binary copied to clipboard

Cannot remove field value by setting it to NULL

Open pako-pl opened this issue 10 years ago • 0 comments

The following query:

 $cassandraDatabase->query('UPDATE users SET field_to_delete = :empty_value;', array('empty_value' => NULL));

causes the following error:

 BigInt value 0 not an int in /home/pako_www/live/vendor/evseevnn/php-cassandra-binary/src/Protocol/BinaryData.php on line 145

pako-pl avatar Feb 03 '15 11:02 pako-pl