ruby on rails - How can i sort Cassandra-cql Results by timestamp? -



ruby on rails - How can i sort Cassandra-cql Results by timestamp? -

hi how can sort entries timestamp of columns?

def self.get_users @@db.execute("select * users") end

do mean timestamp of values, or column key kind of timestamp?

cql doesn't back upwards sort - returns info in order stored on disk. tell cassandra how want columns sorted specifying comparator_type on column family. in case, might consider using composite column keys of [timestamp, column name].

ruby-on-rails cassandra cql

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -