We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a primary key is not included in an active model, sea-orm panics. Could this be handled in a better way? https://github.com/SeaQL/sea-orm/blob/master/src/query/update.rs#L95
let active_model = cake::ActiveModel { // Don't include ID ... ..Default::default() }; let products = Cake::update(active_model).exec(&db).await?;
@acidic9 thanks for raising this issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a primary key is not included in an active model, sea-orm panics. Could this be handled in a better way?
https://github.com/SeaQL/sea-orm/blob/master/src/query/update.rs#L95
@acidic9 thanks for raising this issue
The text was updated successfully, but these errors were encountered: