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.
Modules§
- sqlfunc 🔒
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. - sqlfunc_
for_ 🔒test - Non-exported version of
sqlfunc
for testing purposes, accepting proc_macro2 token streams. - test_
sqlfunc - test_
sqlfunc_ str