Skip to main content

TableSampling

Trait TableSampling 

Source
pub trait TableSampling: Dialect {
    // Required method
    fn tablesample(
        b: &mut Builder<Self>,
        percent: f64,
        method: &str,
    ) -> Result<()>;
}
Expand description

TABLESAMPLE / SAMPLE.

Required Methods§

Source

fn tablesample(b: &mut Builder<Self>, percent: f64, method: &str) -> Result<()>

Samples percent of the table with method (PHP’s default BERNOULLI).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§