Skip to content

Instantly share code, notes, and snippets.

@aozturk
Last active December 29, 2015 04:59
Show Gist options
  • Save aozturk/7618148 to your computer and use it in GitHub Desktop.
Save aozturk/7618148 to your computer and use it in GitHub Desktop.
rocksdb::Slice key1 = "one";
std::string bar = "bar";
rocksdb::WriteOptions write_options;
write_options.sync = true;
db->Put(write_options, key1, bar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment