|
|
@ -51,7 +51,7 @@ class LEVELDB_EXPORT WriteBatch { |
|
|
|
|
|
|
|
// Store the mapping "key->value" in the database. |
|
|
|
void Put(const Slice& key, const Slice& value); |
|
|
|
// 添加ttl-橙 |
|
|
|
// 添加ttl-朱陈媛 |
|
|
|
void Put(const Slice& key, const Slice& value, uint64_t ttl); |
|
|
|
|
|
|
|
// If the database contains a mapping for "key", erase it. Else do nothing. |
|
|
|