cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vicent roca daniel <sap...@gmail.com>
Subject Insert LongType with ruby
Date Sun, 02 Jan 2011 23:45:46 GMT
Hi guys, I need your help.

I'm trying to insert a column name of type LongType using the ruby wrapper,
but I can't get it working.

What I'm trying is something like this:
   app.insert(:Data, 'device1-cpu', { Time.now => 1234.to_s})

The columnNames are tye TimeStamp. this way I got an ordened record by time.
I think I'm not inserting a correct value here. ┬┐any thoughts ?

Thanks you in advance :)

Mime
View raw message