Uses of Class
com.datastax.astra.client.collections.commands.results.CollectionInsertOneResult
-
Uses of CollectionInsertOneResult in com.datastax.astra.client.collections
Modifier and TypeMethodDescriptionInserts a single document into the collection as an atomic operation, ensuring that the document is added in a single, indivisible step.Collection.insertOne
(T document, CollectionInsertOneOptions collectionInsertOneOptions) Inserts a single document into the collection as an atomic operation, ensuring that the document is added in a single, indivisible step.Modifier and TypeMethodDescriptionCollection.insertOneAsync
(T document) Asynchronously inserts a single document into the collection.Collection.insertOneAsync
(T document, CollectionInsertOneOptions options) Asynchronous implementation ofCollection.insertOne(Object, CollectionInsertOneOptions)
.