Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/serverless/examples
/ getPet
Function
getPet
aws-node-mongodb-atlas/handler.js:24–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
const
getPet = () => {
25
return
{
26
type
: getPetType(),
27
name: faker.name.findName(),
28
};
29
}
30
31
const
client =
new
MongoClient(mongoConnStr, {
32
useNewUrlParser: true,
Callers
1
performQuery
Function · 0.85
Calls
1
getPetType
Function · 0.85
Tested by
no test coverage detected