pub struct FunctionRegistry { /* private fields */ }Expand description
Function registry for SQL functions
Implementations§
Source§impl FunctionRegistry
impl FunctionRegistry
Sourcepub fn call(&self, name: &str, args: &[FunctionArg]) -> QueryResult<FunctionArg>
pub fn call(&self, name: &str, args: &[FunctionArg]) -> QueryResult<FunctionArg>
Call a function by name
Sourcepub fn has_function(&self, name: &str) -> bool
pub fn has_function(&self, name: &str) -> bool
Check if a function exists
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionRegistry
impl !RefUnwindSafe for FunctionRegistry
impl Send for FunctionRegistry
impl Sync for FunctionRegistry
impl Unpin for FunctionRegistry
impl UnsafeUnpin for FunctionRegistry
impl !UnwindSafe for FunctionRegistry
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