spring data mongo使用小記

1、更新並返回更新後的值mongodb Object newVal = mongoTemplate.findAndModify(query, update, FindAndModifyOptions.options().returnNew(true), Object.class, collectionName); 2、批量操做shell BulkOperations bulkOps
相關文章
相關標籤/搜索