This commit is contained in:
Matthieu Bessat 2026-01-05 14:07:27 +01:00
parent 5f45671b74
commit 7268180d4d
5 changed files with 64 additions and 29 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>
}