Skip to content

Commit

Permalink
add derive of DieselNumericOps to AliasedField
Browse files Browse the repository at this point in the history
  • Loading branch information
formlogic-kirk committed Apr 5, 2024
1 parent 77f64e8 commit 270c73f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion diesel/src/query_source/aliasing/aliased_field.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use diesel_derives::DieselNumericOps;

use super::{Alias, AliasSource};

use crate::backend::Backend;
Expand All @@ -13,7 +15,7 @@ use crate::sql_types;

use std::marker::PhantomData;

#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, DieselNumericOps)]
/// Represents an aliased field (column) within diesel's query builder
///
/// See [`alias!`](crate::alias) for more details.
Expand Down

0 comments on commit 270c73f

Please sign in to comment.