diff --git a/src/sql/idiom.rs b/src/sql/idiom.rs index 56de95f5..c87a6dfc 100644 --- a/src/sql/idiom.rs +++ b/src/sql/idiom.rs @@ -77,7 +77,7 @@ impl Idiom { ) -> Result { match doc { // There is a current document - Some(v) => v.get(ctx, opt, exe, self).await, + Some(v) => v.get(ctx, opt, exe, self).await?.compute(ctx, opt, exe, doc).await, // There isn't any document None => Ok(Value::None), }