CRUD Functions

Info

MongoDAO CRUD Collection functions.

Create


def insertOne(value: A): Observable[Void] def insertOne(value: A), options: InsertOneOptions: Observable[Void] def insertMany(values: Seq[A]): Observable[Void] def insertMany(values: Seq[A], options: InsertManyOptions): Observable[Void]

Update


def replaceOne(value: A): Observable[UpdateResult] def replaceOne(value: A, options: ReplaceOptions): Observable[UpdateResult]

Delete


def deleteOne(value: A): Observable[DeleteResult] def deleteOne(filter: Bson): Observable[DeleteResult] def deleteMany(filter: Bson): Observable[DeleteResult] def deleteAll(): Observable[DeleteResult]