We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#[derive(Clone, Debug, Patch)] #[rorm(model = "User")] pub(crate) struct UserPatch { pub(crate) username: String, pub(crate) email: String, pub(crate) password: String, } let u = UserPatch { username: "foo".to_string(), email: "admin@omikron.dev".to_string(), password: "SuperSecurePassword".to_string(), }; let _ = insert(&db, &u).await;
The resulting query:
INSERT OR ABORT INTO user (username, email, password) VALUES (?, ?);
The text was updated successfully, but these errors were encountered:
c4a05b4
gammelalf
No branches or pull requests
The resulting query:
The text was updated successfully, but these errors were encountered: