コード例 #1
0
 rocksdb::Status DeletePDS( const rocksdb::Slice &aPDSName, const rocksdb::Slice &aPDSId )
 {
   rocksdb::Status rs = mPDSDBHndl->Delete( mPDSwropts, aPDSName );
   if( rs.ok() )
     rs = mPDSDBHndl->Delete( mPDSwropts, aPDSId );
   return rs;
 }
コード例 #2
0
 rocksdb::Status DeleteData( const rocksdb::Slice &aKey )
 {
   return mDataDBHndl->Delete( mDeleteOpts, aKey );
 }