pub fn select_part( table_name: &str, distinct: bool, alias: Option<&str>, ) -> String
Helper function to create a SQL SELECT statement for a DbEntity table. This method returns the (id, version, data) tuple