Skip to main content

CountSelect

Trait CountSelect 

Source
pub trait CountSelect {
    type Model: Model;

    // Required method
    fn into_relation_names(self) -> Vec<String>;
}
Expand description

A typed shape that lowers to a _count aggregate selection.

Required Associated Types§

Source

type Model: Model

The model this count selection applies to.

Required Methods§

Source

fn into_relation_names(self) -> Vec<String>

Concrete representation as a list of relation names to count.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§