Skip to content

Conversation

@pikaju
Copy link
Contributor

@pikaju pikaju commented Nov 18, 2025

No description provided.

@carllerche
Copy link
Member

@claude /pr-review

@claude
Copy link

claude bot commented Nov 19, 2025

Claude Code is working…

I'll analyze this and get back to you.

View job run

/// These statements can reference fields from the inserted record using
/// `Expr::ParentField`. They execute after the parent INSERT but do not
/// affect the returned results.
pub then: Vec<Statement>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it was in the design doc. I would punt on it for the initial PR. I don't think any current test will require this to pass.

.await
.unwrap();
assert_eq!(u.id, i);
assert_eq!(u.bars.get()[0].foo.get().id, i);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

foo.get() should not work here since the foo association is not eager loaded. You will need to issue a query to load it. I don't remember the API, maybe check another test file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants