We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3c282 commit 2920ab2Copy full SHA for 2920ab2
source/code-snippets/crud/pizza.js
@@ -60,7 +60,7 @@ async function run() {
60
},
61
62
]);
63
- changeStream.on("change", function(change) {
+ changeStream.on("change", change => {
64
const { name, address } = change.fullDocument;
65
console.log(`New order for ${name} at ${address}.`);
66
});
0 commit comments