pub fn print_filters<'a, Q: Filterable<'a>>()
Available on crate feature
filter
only.Expand description
Debug print of a Filterable
type showing the supported
queries.
Example:
use django_query::filtering::{print_filters, Filterable};
#[derive(Filterable)]
struct Foo {
#[django(op(lt,gt,gte,lte))]
a: i32
}
print_filters::<Foo>();
produces
a
a__gt
a__gte
a__lt
a__lte