Technology•July 20, 2015
Python Driver 2.6.0 with Cassandra 2.2 Features
from cassandra.query import UNSET_VALUE
ps = session.prepare('INSERT INTO test (key, v0, v1) VALUES (?, ?, ?)')
session.execute(ps, (0, 1)) # v1 implicitly unset
session.execute(ps, (0, UNSET_VALUE, 2)) # v0 explicitly unset
JUMP TO SECTION