You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							501 B
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							501 B
						
					
					
				| 'use strict';
 | |
| function getDefaultBulkwriteResult() {
 | |
|   return {
 | |
|     result: {
 | |
|       ok: 1,
 | |
|       writeErrors: [],
 | |
|       writeConcernErrors: [],
 | |
|       insertedIds: [],
 | |
|       nInserted: 0,
 | |
|       nUpserted: 0,
 | |
|       nMatched: 0,
 | |
|       nModified: 0,
 | |
|       nRemoved: 0,
 | |
|       upserted: []
 | |
|     },
 | |
|     insertedCount: 0,
 | |
|     matchedCount: 0,
 | |
|     modifiedCount: 0,
 | |
|     deletedCount: 0,
 | |
|     upsertedCount: 0,
 | |
|     upsertedIds: {},
 | |
|     insertedIds: {},
 | |
|     n: 0
 | |
|   };
 | |
| }
 | |
| 
 | |
| module.exports = getDefaultBulkwriteResult; |