$pdo = new PDO(/*cassandra dsn*/);
$stmt = $pdo->prepare('INSERT INTO FooCF (KEY, column) VALUES(:key, :column)');
$stmt->bindValue('column', "single quote-> ' <- single quote");
$stmt->execute(); // throw exception
It's broken that binding value in prepare statement so far.
because PDO::quote had wrong way to escape single quote.
A <stringLiteral> is encased in 'single quotes'. A single quote itself can be represented in a string literal by doubling it, as in SQL: 'Single quote -> '' <-'.
'Single quote -> '' <-'
says in CQL.textile
There are some discussion in other client.
fix quote, escape single quote only