Ensure futures are processed when selecting data
This commit is contained in:
parent
744b480f88
commit
40049aefb0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ impl Idiom {
|
|||
) -> Result<Value, Error> {
|
||||
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),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue