Closed TraGicCode closed 4 years ago
Hello, no but you can easily implement your custom behaviour in a class repo inheriting from BaseMongoRepository
, where the MongoDbContext
gives you access to raw driver capabilities.
Thanks @alexandre-spieser
Is still this the case right now? If so, would you consider adding it to the library? Upsert is a pretty basic MongoDB/document db feature
Hey,
Is Upsert possible on the repository currently? For Example, if i want to allow a single method to be called for both inserts AND updates? I tried using
.UpdateOne()
but that seems to not do this.