Expand description
The #[sqlfunc] attribute macro’s entry point.
Parses the attribute, classifies the annotated function’s arity, and hands the
matching crate::shape::Shape to crate::generate::generate.
Functions§
- determine_
shape 🔒 - The shape of a function annotated with
#[sqlfunc], orNonefor a function without SQL arguments. - generate_
test 🔒 - 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.