MCPcopy
hub / github.com/mongodb/node-mongodb-native / isAtlasDataLake

Function isAtlasDataLake

test/tools/unified-spec-runner/runner.ts:29–32  ·  view source on GitHub ↗
(client: MongoClient)

Source from the content-addressed store, hash-verified

27}
28
29async function isAtlasDataLake(client: MongoClient): Promise<boolean> {
30 const buildInfo = await client.db('admin').admin().buildInfo();
31 return 'dataLake' in buildInfo;
32}
33
34async function terminateOpenTransactions(client: MongoClient) {
35 // killAllSessions is not allowed in ADL.

Callers 2

runUnifiedTestFunction · 0.85

Calls 3

buildInfoMethod · 0.80
adminMethod · 0.80
dbMethod · 0.45

Tested by

no test coverage detected