MCPcopy 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
24const getPet = () => {
25 return {
26 type: getPetType(),
27 name: faker.name.findName(),
28 };
29}
30
31const client = new MongoClient(mongoConnStr, {
32 useNewUrlParser: true,

Callers 1

performQueryFunction · 0.85

Calls 1

getPetTypeFunction · 0.85

Tested by

no test coverage detected