Skip to main content

select_part

Function select_part 

Source
pub fn select_part(
    table_name: &str,
    distinct: bool,
    alias: Option<&str>,
) -> String
Expand description

Helper function to create a SQL SELECT statement for a DbEntity table. This method returns the (id, version, data) tuple