Skip to content

Commit f30c02b

Browse files
minor: document required server version for bulk write (#1159)
1 parent a025f54 commit f30c02b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/action/bulk_write.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ impl Client {
2222
///
2323
/// `await` will return d[`Result<SummaryBulkWriteResult`] or d[`Result<VerboseBulkWriteResult`]
2424
/// if [`verbose_results`](BulkWrite::verbose_results) is configured.
25+
///
26+
/// Bulk write is only available on MongoDB 8.0+.
2527
#[deeplink]
2628
pub fn bulk_write(
2729
&self,
@@ -47,6 +49,8 @@ impl crate::sync::Client {
4749
/// [`run`](BulkWrite::run) will return d[`Result<SummaryBulkWriteResult`] or
4850
/// d[`Result<VerboseBulkWriteResult`] if [`verbose_results`](BulkWrite::verbose_results) is
4951
/// configured.
52+
///
53+
/// Bulk write is only available on MongoDB 8.0+.
5054
#[deeplink]
5155
pub fn bulk_write(
5256
&self,

0 commit comments

Comments
 (0)