Skip to main content

Crate mz_expr_derive_impl

Crate mz_expr_derive_impl 

Source
Expand description

Implementations of proc macros to derive SQL function traits.

This is separate from the actual proc macro to allow exporting the function defining the proc macro itself. Proc macro crates cannot export anything but proc macros.

Functionsยง

sqlfunc
Implementation for the #[sqlfunc] macro. The first parameter is the attribute arguments, the second is the function body. The third parameter indicates whether to include the test function in the output.
test_sqlfunc
test_sqlfunc_str