Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/serverless/examples
/ createConn
Function
createConn
aws-node-mongodb-atlas/handler.js:36–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
let
db;
35
36
const
createConn =
async
() => {
37
await
client.connect();
38
db = client.db(
'test'
);
39
};
40
41
const
performQuery =
async
() => {
42
const
pets = db.collection(
'pets'
);
Callers
1
handler.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected