using UUID1 with phpcassa
问题 Have following CF: create column family gr_ip2 with column_type = 'Standard' and comparator = 'TimeUUIDType(reversed=true)' ...; then do following code: $uuid1 = phpcassa\UUID::uuid1(null, $time); $cf->insert("$key" , array($uuid1 => $url) ); it works without exceptions, but CF at the end is empty. 回答1: $uuid1 is not string, but an object. When we do $cf->insert("$key" , array($uuid1 => $url) ); the object is converted to string, and insert fails. phpcassa does not give exeption, but insert