Skip to content

Instantly share code, notes, and snippets.

@maksadbek
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maksadbek/47a7caa874b0baf893aa to your computer and use it in GitHub Desktop.
Save maksadbek/47a7caa874b0baf893aa to your computer and use it in GitHub Desktop.
Trash
As I discussed last time (msdn.microsoft.com/magazine/JJ553519), Cassandra is a “column-oriented” data store, which means that instead of storing identically structured tuples of data arranged according to a fixed structure (the table schema), Cassandra stores “column families” in “keyspaces.” In more descriptive terms, Cassandra associates a key value with a varying number of name/value pairs (columns) that might be entirely different from one “row” to another.
db.collection.find({}).sort($natural: -1}).limit(1);
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/video-lectures/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment