Ensure edges are stored before indexes in RELATE statements
This commit is contained in:
parent
525b02ca46
commit
a9bf09db1e
1 changed files with 2 additions and 2 deletions
|
@ -22,10 +22,10 @@ impl<'a> Document<'a> {
|
||||||
self.field(ctx, opt, txn, stm).await?;
|
self.field(ctx, opt, txn, stm).await?;
|
||||||
// Check if allowed
|
// Check if allowed
|
||||||
self.allow(ctx, opt, txn, stm).await?;
|
self.allow(ctx, opt, txn, stm).await?;
|
||||||
// Store index data
|
|
||||||
self.index(ctx, opt, txn, stm).await?;
|
|
||||||
// Store record edges
|
// Store record edges
|
||||||
self.edges(ctx, opt, txn, stm).await?;
|
self.edges(ctx, opt, txn, stm).await?;
|
||||||
|
// Store index data
|
||||||
|
self.index(ctx, opt, txn, stm).await?;
|
||||||
// Store record data
|
// Store record data
|
||||||
self.store(ctx, opt, txn, stm).await?;
|
self.store(ctx, opt, txn, stm).await?;
|
||||||
// Run table queries
|
// Run table queries
|
||||||
|
|
Loading…
Reference in a new issue