mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
utility fns
This commit is contained in:
committed by
Aiden McClelland
parent
b74a54390e
commit
9ff57e33d3
@@ -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