make query_call macro public
This commit is contained in:
parent
b56f07e6be
commit
0973499652
@ -35,6 +35,7 @@ pub struct User {
|
||||
pub language_code: Option<String>,
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! query_call {
|
||||
($func_name:ident, $self:ident, $db:ident, $return_type:ty, $body:block) => {
|
||||
pub async fn $func_name<D: CallDB>(&$self, $db: &mut D)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user