mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(analytics): add first_attempt as a filter for PaymentFilters (#6604)
This commit is contained in:
@ -457,6 +457,12 @@ impl<T: AnalyticsDataSource> ToSql<T> for common_utils::id_type::CustomerId {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: AnalyticsDataSource> ToSql<T> for bool {
|
||||
fn to_sql(&self, _table_engine: &TableEngine) -> error_stack::Result<String, ParsingError> {
|
||||
Ok(self.to_string().to_owned())
|
||||
}
|
||||
}
|
||||
|
||||
/// Implement `ToSql` on arrays of types that impl `ToString`.
|
||||
macro_rules! impl_to_sql_for_to_string {
|
||||
($($type:ty),+) => {
|
||||
|
||||
Reference in New Issue
Block a user