@@ -1328,44 +1328,44 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1328
1328
/**
1329
1329
* Drops this collection from the Database.
1330
1330
*
1331
- * @return an empty Observable that indicates when the operation has completed
1331
+ * @return an Observable that indicates when the operation has completed
1332
1332
* [[https://www.mongodb.com/docs/manual/reference/command/drop/ Drop Collection ]]
1333
1333
*/
1334
- def drop (): SingleObservable [Void ] = wrapped.drop()
1334
+ def drop (): SingleObservable [Unit ] = wrapped.drop()
1335
1335
1336
1336
/**
1337
1337
* Drops this collection from the Database.
1338
1338
*
1339
1339
* @param clientSession the client session with which to associate this operation
1340
- * @return an empty Observable that indicates when the operation has completed
1340
+ * @return an Observable that indicates when the operation has completed
1341
1341
* [[https://www.mongodb.com/docs/manual/reference/command/drop/ Drop Collection ]]
1342
1342
* @since 2.2
1343
1343
* @note Requires MongoDB 3.6 or greater
1344
1344
*/
1345
- def drop (clientSession : ClientSession ): SingleObservable [Void ] = wrapped.drop(clientSession)
1345
+ def drop (clientSession : ClientSession ): SingleObservable [Unit ] = wrapped.drop(clientSession)
1346
1346
1347
1347
/**
1348
1348
* Drops this collection from the Database.
1349
1349
*
1350
1350
* @param dropCollectionOptions various options for dropping the collection
1351
- * @return an empty Observable that indicates when the operation has completed
1351
+ * @return an Observable that indicates when the operation has completed
1352
1352
* [[https://www.mongodb.com/docs/manual/reference/command/drop/ Drop Collection ]]
1353
1353
* @since 4.7
1354
1354
* @note Requires MongoDB 6.0 or greater
1355
1355
*/
1356
- def drop (dropCollectionOptions : DropCollectionOptions ): SingleObservable [Void ] = wrapped.drop(dropCollectionOptions)
1356
+ def drop (dropCollectionOptions : DropCollectionOptions ): SingleObservable [Unit ] = wrapped.drop(dropCollectionOptions)
1357
1357
1358
1358
/**
1359
1359
* Drops this collection from the Database.
1360
1360
*
1361
1361
* @param clientSession the client session with which to associate this operation
1362
1362
* @param dropCollectionOptions various options for dropping the collection
1363
- * @return an empty Observable that indicates when the operation has completed
1363
+ * @return an Observable that indicates when the operation has completed
1364
1364
* [[https://www.mongodb.com/docs/manual/reference/command/drop/ Drop Collection ]]
1365
1365
* @since 4.7
1366
1366
* @note Requires MongoDB 6.0 or greater
1367
1367
*/
1368
- def drop (clientSession : ClientSession , dropCollectionOptions : DropCollectionOptions ): SingleObservable [Void ] =
1368
+ def drop (clientSession : ClientSession , dropCollectionOptions : DropCollectionOptions ): SingleObservable [Unit ] =
1369
1369
wrapped.drop(clientSession, dropCollectionOptions)
1370
1370
1371
1371
/**
@@ -1413,24 +1413,24 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1413
1413
*
1414
1414
* @param indexName the name of the search index to update.
1415
1415
* @param definition the search index mapping definition.
1416
- * @return an empty Observable that indicates when the operation has completed.
1416
+ * @return an Observable that indicates when the operation has completed.
1417
1417
* @since 4.11
1418
1418
* @note Requires MongoDB 7.0 or greater
1419
1419
* @see [[https://www.mongodb.com/docs/manual/reference/command/updateSearchIndex/ Update Search Index ]]
1420
1420
*/
1421
- def updateSearchIndex (indexName : String , definition : Bson ): SingleObservable [Void ] =
1421
+ def updateSearchIndex (indexName : String , definition : Bson ): SingleObservable [Unit ] =
1422
1422
wrapped.updateSearchIndex(indexName, definition)
1423
1423
1424
1424
/**
1425
1425
* Drop an Atlas Search index given its name.
1426
1426
*
1427
1427
* @param indexName the name of the search index to drop.
1428
- * @return an empty Observable that indicates when the operation has completed.
1428
+ * @return an Observable that indicates when the operation has completed.
1429
1429
* @since 4.11
1430
1430
* @note Requires MongoDB 7.0 or greater
1431
1431
* @see [[https://www.mongodb.com/docs/manual/reference/command/dropSearchIndex/ Drop Search Index ]]
1432
1432
*/
1433
- def dropSearchIndex (indexName : String ): SingleObservable [Void ] = wrapped.dropSearchIndex(indexName)
1433
+ def dropSearchIndex (indexName : String ): SingleObservable [Unit ] = wrapped.dropSearchIndex(indexName)
1434
1434
1435
1435
/**
1436
1436
* Get all Atlas Search indexes in this collection.
@@ -1569,39 +1569,39 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1569
1569
*
1570
1570
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1571
1571
* @param indexName the name of the index to remove
1572
- * @return an empty Observable that indicates when the operation has completed
1572
+ * @return an Observable that indicates when the operation has completed
1573
1573
*/
1574
- def dropIndex (indexName : String ): SingleObservable [Void ] = wrapped.dropIndex(indexName)
1574
+ def dropIndex (indexName : String ): SingleObservable [Unit ] = wrapped.dropIndex(indexName)
1575
1575
1576
1576
/**
1577
1577
* Drops the given index.
1578
1578
*
1579
1579
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1580
1580
* @param indexName the name of the index to remove
1581
1581
* @param dropIndexOptions options to use when dropping indexes
1582
- * @return an empty Observable that indicates when the operation has completed
1582
+ * @return an Observable that indicates when the operation has completed
1583
1583
* @since 2.2
1584
1584
*/
1585
- def dropIndex (indexName : String , dropIndexOptions : DropIndexOptions ): SingleObservable [Void ] =
1585
+ def dropIndex (indexName : String , dropIndexOptions : DropIndexOptions ): SingleObservable [Unit ] =
1586
1586
wrapped.dropIndex(indexName, dropIndexOptions)
1587
1587
1588
1588
/**
1589
1589
* Drops the index given the keys used to create it.
1590
1590
*
1591
1591
* @param keys the keys of the index to remove
1592
- * @return an empty Observable that indicates when the operation has completed
1592
+ * @return an Observable that indicates when the operation has completed
1593
1593
*/
1594
- def dropIndex (keys : Bson ): SingleObservable [Void ] = wrapped.dropIndex(keys)
1594
+ def dropIndex (keys : Bson ): SingleObservable [Unit ] = wrapped.dropIndex(keys)
1595
1595
1596
1596
/**
1597
1597
* Drops the index given the keys used to create it.
1598
1598
*
1599
1599
* @param keys the keys of the index to remove
1600
1600
* @param dropIndexOptions options to use when dropping indexes
1601
- * @return an empty Observable that indicates when the operation has completed
1601
+ * @return an Observable that indicates when the operation has completed
1602
1602
* @since 2.2
1603
1603
*/
1604
- def dropIndex (keys : Bson , dropIndexOptions : DropIndexOptions ): SingleObservable [Void ] =
1604
+ def dropIndex (keys : Bson , dropIndexOptions : DropIndexOptions ): SingleObservable [Unit ] =
1605
1605
wrapped.dropIndex(keys, dropIndexOptions)
1606
1606
1607
1607
/**
@@ -1610,11 +1610,11 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1610
1610
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1611
1611
* @param clientSession the client session with which to associate this operation
1612
1612
* @param indexName the name of the index to remove
1613
- * @return an empty Observable that indicates when the operation has completed
1613
+ * @return an Observable that indicates when the operation has completed
1614
1614
* @since 2.2
1615
1615
* @note Requires MongoDB 3.6 or greater
1616
1616
*/
1617
- def dropIndex (clientSession : ClientSession , indexName : String ): SingleObservable [Void ] =
1617
+ def dropIndex (clientSession : ClientSession , indexName : String ): SingleObservable [Unit ] =
1618
1618
wrapped.dropIndex(clientSession, indexName)
1619
1619
1620
1620
/**
@@ -1624,27 +1624,27 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1624
1624
* @param clientSession the client session with which to associate this operation
1625
1625
* @param indexName the name of the index to remove
1626
1626
* @param dropIndexOptions options to use when dropping indexes
1627
- * @return an empty Observable that indicates when the operation has completed
1627
+ * @return an Observable that indicates when the operation has completed
1628
1628
* @since 2.2
1629
1629
* @note Requires MongoDB 3.6 or greater
1630
1630
*/
1631
1631
def dropIndex (
1632
1632
clientSession : ClientSession ,
1633
1633
indexName : String ,
1634
1634
dropIndexOptions : DropIndexOptions
1635
- ): SingleObservable [Void ] =
1635
+ ): SingleObservable [Unit ] =
1636
1636
wrapped.dropIndex(clientSession, indexName, dropIndexOptions)
1637
1637
1638
1638
/**
1639
1639
* Drops the index given the keys used to create it.
1640
1640
*
1641
1641
* @param clientSession the client session with which to associate this operation
1642
1642
* @param keys the keys of the index to remove
1643
- * @return an empty Observable that indicates when the operation has completed
1643
+ * @return an Observable that indicates when the operation has completed
1644
1644
* @since 2.2
1645
1645
* @note Requires MongoDB 3.6 or greater
1646
1646
*/
1647
- def dropIndex (clientSession : ClientSession , keys : Bson ): SingleObservable [Void ] =
1647
+ def dropIndex (clientSession : ClientSession , keys : Bson ): SingleObservable [Unit ] =
1648
1648
wrapped.dropIndex(clientSession, keys)
1649
1649
1650
1650
/**
@@ -1653,46 +1653,46 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1653
1653
* @param clientSession the client session with which to associate this operation
1654
1654
* @param keys the keys of the index to remove
1655
1655
* @param dropIndexOptions options to use when dropping indexes
1656
- * @return an empty Observable that indicates when the operation has completed
1656
+ * @return an Observable that indicates when the operation has completed
1657
1657
* @since 2.2
1658
1658
* @note Requires MongoDB 3.6 or greater
1659
1659
*/
1660
1660
def dropIndex (
1661
1661
clientSession : ClientSession ,
1662
1662
keys : Bson ,
1663
1663
dropIndexOptions : DropIndexOptions
1664
- ): SingleObservable [Void ] =
1664
+ ): SingleObservable [Unit ] =
1665
1665
wrapped.dropIndex(clientSession, keys, dropIndexOptions)
1666
1666
1667
1667
/**
1668
1668
* Drop all the indexes on this collection, except for the default on _id.
1669
1669
*
1670
1670
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1671
- * @return an empty Observable that indicates when the operation has completed
1671
+ * @return an Observable that indicates when the operation has completed
1672
1672
*/
1673
- def dropIndexes (): SingleObservable [Void ] = wrapped.dropIndexes()
1673
+ def dropIndexes (): SingleObservable [Unit ] = wrapped.dropIndexes()
1674
1674
1675
1675
/**
1676
1676
* Drop all the indexes on this collection, except for the default on _id.
1677
1677
*
1678
1678
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1679
1679
* @param dropIndexOptions options to use when dropping indexes
1680
- * @return an empty Observable that indicates when the operation has completed
1680
+ * @return an Observable that indicates when the operation has completed
1681
1681
* @since 2.2
1682
1682
*/
1683
- def dropIndexes (dropIndexOptions : DropIndexOptions ): SingleObservable [Void ] =
1683
+ def dropIndexes (dropIndexOptions : DropIndexOptions ): SingleObservable [Unit ] =
1684
1684
wrapped.dropIndexes(dropIndexOptions)
1685
1685
1686
1686
/**
1687
1687
* Drop all the indexes on this collection, except for the default on _id.
1688
1688
*
1689
1689
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1690
1690
* @param clientSession the client session with which to associate this operation
1691
- * @return an empty Observable that indicates when the operation has completed
1691
+ * @return an Observable that indicates when the operation has completed
1692
1692
* @since 2.2
1693
1693
* @note Requires MongoDB 3.6 or greater
1694
1694
*/
1695
- def dropIndexes (clientSession : ClientSession ): SingleObservable [Void ] =
1695
+ def dropIndexes (clientSession : ClientSession ): SingleObservable [Unit ] =
1696
1696
wrapped.dropIndexes(clientSession)
1697
1697
1698
1698
/**
@@ -1701,21 +1701,21 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1701
1701
* [[https://www.mongodb.com/docs/manual/reference/command/dropIndexes/ Drop Indexes ]]
1702
1702
* @param clientSession the client session with which to associate this operation
1703
1703
* @param dropIndexOptions options to use when dropping indexes
1704
- * @return an empty Observable that indicates when the operation has completed
1704
+ * @return an Observable that indicates when the operation has completed
1705
1705
* @since 2.2
1706
1706
* @note Requires MongoDB 3.6 or greater
1707
1707
*/
1708
- def dropIndexes (clientSession : ClientSession , dropIndexOptions : DropIndexOptions ): SingleObservable [Void ] =
1708
+ def dropIndexes (clientSession : ClientSession , dropIndexOptions : DropIndexOptions ): SingleObservable [Unit ] =
1709
1709
wrapped.dropIndexes(clientSession, dropIndexOptions)
1710
1710
1711
1711
/**
1712
1712
* Rename the collection with oldCollectionName to the newCollectionName.
1713
1713
*
1714
1714
* [[https://www.mongodb.com/docs/manual/reference/commands/renameCollection Rename collection ]]
1715
1715
* @param newCollectionNamespace the name the collection will be renamed to
1716
- * @return an empty Observable that indicates when the operation has completed
1716
+ * @return an Observable that indicates when the operation has completed
1717
1717
*/
1718
- def renameCollection (newCollectionNamespace : MongoNamespace ): SingleObservable [Void ] =
1718
+ def renameCollection (newCollectionNamespace : MongoNamespace ): SingleObservable [Unit ] =
1719
1719
wrapped.renameCollection(newCollectionNamespace)
1720
1720
1721
1721
/**
@@ -1724,12 +1724,12 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1724
1724
* [[https://www.mongodb.com/docs/manual/reference/commands/renameCollection Rename collection ]]
1725
1725
* @param newCollectionNamespace the name the collection will be renamed to
1726
1726
* @param options the options for renaming a collection
1727
- * @return an empty Observable that indicates when the operation has completed
1727
+ * @return an Observable that indicates when the operation has completed
1728
1728
*/
1729
1729
def renameCollection (
1730
1730
newCollectionNamespace : MongoNamespace ,
1731
1731
options : RenameCollectionOptions
1732
- ): SingleObservable [Void ] =
1732
+ ): SingleObservable [Unit ] =
1733
1733
wrapped.renameCollection(newCollectionNamespace, options)
1734
1734
1735
1735
/**
@@ -1738,14 +1738,14 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1738
1738
* [[https://www.mongodb.com/docs/manual/reference/commands/renameCollection Rename collection ]]
1739
1739
* @param clientSession the client session with which to associate this operation
1740
1740
* @param newCollectionNamespace the name the collection will be renamed to
1741
- * @return an empty Observable that indicates when the operation has completed
1741
+ * @return an Observable that indicates when the operation has completed
1742
1742
* @since 2.2
1743
1743
* @note Requires MongoDB 3.6 or greater
1744
1744
*/
1745
1745
def renameCollection (
1746
1746
clientSession : ClientSession ,
1747
1747
newCollectionNamespace : MongoNamespace
1748
- ): SingleObservable [Void ] =
1748
+ ): SingleObservable [Unit ] =
1749
1749
wrapped.renameCollection(clientSession, newCollectionNamespace)
1750
1750
1751
1751
/**
@@ -1755,15 +1755,15 @@ case class MongoCollection[TResult](private val wrapped: JMongoCollection[TResul
1755
1755
* @param clientSession the client session with which to associate this operation
1756
1756
* @param newCollectionNamespace the name the collection will be renamed to
1757
1757
* @param options the options for renaming a collection
1758
- * @return an empty Observable that indicates when the operation has completed
1758
+ * @return an Observable that indicates when the operation has completed
1759
1759
* @since 2.2
1760
1760
* @note Requires MongoDB 3.6 or greater
1761
1761
*/
1762
1762
def renameCollection (
1763
1763
clientSession : ClientSession ,
1764
1764
newCollectionNamespace : MongoNamespace ,
1765
1765
options : RenameCollectionOptions
1766
- ): SingleObservable [Void ] =
1766
+ ): SingleObservable [Unit ] =
1767
1767
wrapped.renameCollection(clientSession, newCollectionNamespace, options)
1768
1768
1769
1769
/**
0 commit comments