Struct diesel::sql_types::Numeric [−][src]
pub struct Numeric;
Expand description
The arbitrary precision numeric SQL type.
This type is only supported on PostgreSQL and MySQL.
On SQLite, Double
should be used instead.
ToSql
impls
bigdecimal::BigDecimal
withfeature = ["numeric"]
FromSql
impls
bigdecimal::BigDecimal
withfeature = ["numeric"]
Trait Implementations
type Expression = Bound<Numeric, Self>
type Expression = Bound<Numeric, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Numeric, Self>
type Expression = Bound<Numeric, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Numeric, Self>
type Expression = Bound<Numeric, Self>
The expression being returned
Perform the conversion
Fetch the metadata for the given type Read more
Can the SQL generated by Self
be uniquely identified by its type? Read more
Auto Trait Implementations
impl RefUnwindSafe for Numeric
impl UnwindSafe for Numeric
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more