Update doc for Options::set_compression_type (#416)

master
wqfish 4 years ago committed by GitHub
parent df05c3182e
commit 8f7124b488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/db_options.rs

@ -511,11 +511,10 @@ impl Options {
}
}
/// Sets the compression algorithm that will be used for the bottommost level that
/// contain files. If level-compaction is used, this option will only affect
/// levels after base level.
/// Sets the compression algorithm that will be used for compressing blocks.
///
/// Default: DBCompressionType::None
/// Default: `DBCompressionType::Snappy` (`DBCompressionType::None` if
/// snappy feature is not enabled).
///
/// # Example
///

Loading…
Cancel
Save