pub struct DecimalCmpFunc;Expand description
decimal_cmp(X, Y) — compare two decimals, returning -1, 0, or 1.
Trait Implementations§
Source§impl ScalarFunction for DecimalCmpFunc
impl ScalarFunction for DecimalCmpFunc
Source§fn invoke(&self, args: &[SqliteValue]) -> Result<SqliteValue>
fn invoke(&self, args: &[SqliteValue]) -> Result<SqliteValue>
Execute this function on the given arguments.
Source§fn is_deterministic(&self) -> bool
fn is_deterministic(&self) -> bool
Whether this function is deterministic (same inputs → same output). Read more
Auto Trait Implementations§
impl Freeze for DecimalCmpFunc
impl RefUnwindSafe for DecimalCmpFunc
impl Send for DecimalCmpFunc
impl Sync for DecimalCmpFunc
impl Unpin for DecimalCmpFunc
impl UnsafeUnpin for DecimalCmpFunc
impl UnwindSafe for DecimalCmpFunc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more