Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb create index json

{
	"v": 1,
	"unique": false,
	"key": {
		"name": 1
	},
	"name": "name_1",
	"ns": "test.users",
	"background": true
}
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #mongodb #create #index #json
ADD COMMENT
Topic
Name
1+7 =