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
Would be nice to have m2m relations with this syntax
#[derive(Model)] pub struct Repo { #[rorm(id)] pub id: i64, #[rorm(m2m, on_update = "Cascade", on_delete = "Cascade")] pub owners: Many2Many<m2m!(User::F.repos)>, } #[derive(Model)] pub struct User { #[rorm(id)] pub id: i64, #[rorm(m2m, on_update = "Cascade", on_delete = "Cascade")] pub repos: Many2Many<m2m!(Repo::F.owners)>, }
The text was updated successfully, but these errors were encountered:
gammelalf
No branches or pull requests
Would be nice to have m2m relations with this syntax
The text was updated successfully, but these errors were encountered: