diff --git a/lib/src/sql/statements/select.rs b/lib/src/sql/statements/select.rs index 67fba065..d86e9e96 100644 --- a/lib/src/sql/statements/select.rs +++ b/lib/src/sql/statements/select.rs @@ -83,8 +83,8 @@ impl SelectStatement { opt.check(Level::No)?; // Create a new iterator let mut i = Iterator::new(); - // Ensure futures are processed - let opt = &opt.futures(true); + // Ensure futures are stored + let opt = &opt.futures(false); // Loop over the select targets for w in self.what.0.iter() { let v = w.compute(ctx, opt, txn, doc).await?;