BLT
0
Q:

golang mongo create index

col.Indexes().CreateOne(context.Background(), mongo.IndexModel{
	Keys: bson.M{"key": 1},
})
0

New to Communities?

Join the community