pub trait Alias: Sized {
    // Required method
    fn alias(self, alias: String) -> As<Self>;
}
Expand description

Create an alias for a given expression

This is a helper to provide aliasing support while it’s not in diesel itself It probably needs improvements before something like this can be merged to diesel

Required Methods§

source

fn alias(self, alias: String) -> As<Self>

Create an alias with the given name

Implementors§

source§

impl<T> Alias for T