Skip to content

Commit

Permalink
minor: document required server version for bulk write (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelatkinson authored Jun 28, 2024
1 parent a025f54 commit f30c02b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/action/bulk_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ impl Client {
///
/// `await` will return d[`Result<SummaryBulkWriteResult`] or d[`Result<VerboseBulkWriteResult`]
/// if [`verbose_results`](BulkWrite::verbose_results) is configured.
///
/// Bulk write is only available on MongoDB 8.0+.
#[deeplink]
pub fn bulk_write(
&self,
Expand All @@ -47,6 +49,8 @@ impl crate::sync::Client {
/// [`run`](BulkWrite::run) will return d[`Result<SummaryBulkWriteResult`] or
/// d[`Result<VerboseBulkWriteResult`] if [`verbose_results`](BulkWrite::verbose_results) is
/// configured.
///
/// Bulk write is only available on MongoDB 8.0+.
#[deeplink]
pub fn bulk_write(
&self,
Expand Down

0 comments on commit f30c02b

Please sign in to comment.