I'm trying to develop a web application using cassandra with php, I'm new using cassandra I'm using phpcassa to insert and read data but the only way to insert data is with a row key, my question is: how I can declare an auto-increment key like mysql? I think after read this: http://www.datastax.com/docs/1.0/ddl/index that it is with UUID time type, but I don´t know how to do exactly.
Thankyou, and sorry for my english
Apache cassandra + php(2 posts) (2 voices)
Hello,Posted 1 year ago #
You can use
CassandraUtil::uuid1()to generate a v1 UUID (TimeUUID) with phpcassa.Posted 1 year ago #