feat(mongodb): support db.createCollection() and db.dropDatabase()

This commit is contained in:
Loc Nguyen authored and GitHub committed 2026-09-18 15:06:29 +08:00
1 parent 2db28fc236
commit 7c51454bfd
5 files changed
+123 -3

No files matched your search

+2
View File
@@ -253,6 +253,8 @@ test("offers the newly supported count and database commands", () => {
const dbLevel = labels("db.");
assert.ok(dbLevel.includes("stats"));
assert.ok(dbLevel.includes("serverStatus"));
assert.ok(dbLevel.includes("createCollection"));
assert.ok(dbLevel.includes("dropDatabase"));
assert.ok(labels("").includes("db.stats"));
});