evseevnn-zz / php-cassandra-binary

PHP library for Cassandra database via a binary protocol.
http://evseevnn.github.io/php-cassandra-binary/
MIT License
69 stars 33 forks source link

Insert to Collection value #56

Open CBox opened 9 years ago

CBox commented 9 years ago

Hi,

If I've a collection value how can I insert the data? Do I need to convert to json or just pass an array? Nothing works..

CREATE TABLE test( sample map<\text, text>, );

Thanks!

CBox commented 9 years ago

When I pass an array to batch with Map values things goes bad and only part of the data inserts.