From 40049aefb082de39210a06cf613be65c272d302a Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 31 Jan 2022 23:58:08 +0000 Subject: [PATCH] Ensure futures are processed when selecting data --- src/sql/idiom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), }