dev #25

Merged
akulij merged 38 commits from dev into main 2025-06-18 17:10:44 +00:00
Showing only changes of commit 6776716faf - Show all commits

View File

@ -56,7 +56,7 @@ macro_rules! query_call {
#[macro_export] #[macro_export]
macro_rules! query_call_consume { macro_rules! query_call_consume {
($func_name:ident, $self:ident, $db:ident, $return_type:ty, $body:block) => { ($func_name:ident, $self:ident, $db:ident, $return_type:ty, $body:block) => {
pub async fn $func_name<D: crate::db::GetCollection + CallDB>($self, $db: &mut D) pub async fn $func_name<D: $crate::db::GetCollection + CallDB>($self, $db: &mut D)
-> DbResult<$return_type> $body -> DbResult<$return_type> $body
}; };
} }