mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-27 02:41:55 +00:00
utility fns
This commit is contained in:
@@ -247,7 +247,7 @@ fn build_model_struct(
|
||||
}
|
||||
impl #model_name {
|
||||
#(
|
||||
pub fn #child_fn_name(&self) -> #child_model {
|
||||
pub fn #child_fn_name(self) -> #child_model {
|
||||
self.0.child(#child_path).into()
|
||||
}
|
||||
)*
|
||||
|
||||
Reference in New Issue
Block a user