Module sqlfunc Copy item path Source Modifiers π Modifiers passed as key-value pairs to the #[sqlfunc]
macro. SqlName π A name for the SQL function. It can be either a literal or a macro, thus we
canβt use String
or syn::Expr
directly. arg_type π Determines the argument type of the nth argument of the function. binary_func π Produce a EagerBinaryFunc
implementation. camel_case π Convert an identifier to a camel-cased identifier. determine_parameters_arena π Determines the number of parameters to the function. Returns the number of parameters and
whether the last parameter is a RowArena
. generate_test π output_type π Determine the output type for a function. Returns an error if the function
does not return a value. 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. unary_func π Produce a EagerUnaryFunc
implementation.