summaryrefslogtreecommitdiff
path: root/jstests/aggregation/sources/graphLookup/sharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/sources/graphLookup/sharded.js')
-rw-r--r--jstests/aggregation/sources/graphLookup/sharded.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/aggregation/sources/graphLookup/sharded.js b/jstests/aggregation/sources/graphLookup/sharded.js
index 26fbbc2e9f0..d54e2be01c8 100644
--- a/jstests/aggregation/sources/graphLookup/sharded.js
+++ b/jstests/aggregation/sources/graphLookup/sharded.js
@@ -24,7 +24,8 @@ load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
assert.writeOK(local.insert({}));
var res = st.s.getDB("graphLookup")
- .local.aggregate({
+ .local
+ .aggregate({
$graphLookup: {
from: "foreign",
startWith: {$literal: 0},