diff --git a/src/query/condition.rs b/src/query/condition.rs index 541ecaae99..eba65da0ba 100644 --- a/src/query/condition.rs +++ b/src/query/condition.rs @@ -272,7 +272,7 @@ impl std::convert::From for ConditionExpression { /// ``` #[macro_export] macro_rules! any { - ( $( $x:expr ),* ) => { + ( $( $x:expr ),* $(,)?) => { { let mut tmp = sea_query::Condition::any(); $( @@ -307,7 +307,7 @@ macro_rules! any { /// ); #[macro_export] macro_rules! all { - ( $( $x:expr ),* ) => { + ( $( $x:expr ),* $(,)?) => { { let mut tmp = sea_query::Condition::all(); $(