Skip to main content

impl_supports_fn_any

Macro impl_supports_fn_any 

Source
impl_supports_fn_any!() { /* proc-macro */ }
Expand description

Implement a built-in SQL function support marker for any argument count.

Useful for variadic functions like COALESCE or CONCAT. This macro implements the corresponding marker trait for all const ARGS: isize counts, so query!/query_lazy! accept any number of arguments.
See supported for which functions are available.

§Syntax

impl_supports_fn_any!(DriverType, SupportsTrait);

§Example

impl_supports_fn_any!(DocDriver, SupportsConcat);