feat(repositories): add methods get_many_of_related_entity and delete_many_by_id

This commit is contained in:
Matthieu Bessat 2026-01-13 20:45:37 +01:00
parent 5e0ffe67c3
commit 534ed83419
7 changed files with 162 additions and 105 deletions

View file

@ -24,7 +24,11 @@ pub struct SqlGeneratorModelAttr {
pub struct SqlGeneratorFieldAttr {
is_primary: Option<bool>,
is_unique: Option<bool>,
reverse_relation_name: Option<String>
reverse_relation_name: Option<String>,
/// to indicate that this field will be used to obtains entities
/// our framework will generate methods for all fields that is an entrypoint
is_query_entrypoint: Option<bool>
}