Add UpdateSet, Relaxed in client, Fix tests

This commit is contained in:
George Suntres
2026-04-22 10:22:23 -04:00
parent 45f9ac558f
commit 188c5a1be1
9 changed files with 163 additions and 31 deletions

View File

@@ -25,8 +25,12 @@ func TestCreateIndexes(t *testing.T) {
c := GetMongoClient()
c.SetRelaxed()
collection := c.GetCollection("mydb", "mycol")
c.SetStrict()
c.CreateIndexes(collection, cd)
indexView := collection.Indexes()