pub fn condensed_member_name(&self, used_in_table: &Table) -> String {
        if self.name.len() > used_in_table.name.len() {
            let mut concise_name = String::new();
            let used_in_tablename = used_in_table.clean_name();
            for i in self.name.split('_') {
                if used_in_tablename != i {
                    concise_name.push_str(i);
                    concise_name.push_str("_");
                }
            }
            concise_name.trim_right_matches("_").to_owned()
        } else {
            self.name.to_owned()
        }
    }
/// get a condensed name of this table when used in contex with another table
get a condensed name of this table when used in contex with another table
get a condensed name of this table when used in contex with another table
pub fn condensed_member_name(&self, used_in_table: &Table) -> String {
        if self.name.len() > used_in_table.name.len() {
            let mut concise_name = String::new();
            let used_in_tablename = used_in_table.clean_name();
            for i in self.name.split('_') {
                if used_in_tablename != i {
                    concise_name.push_str(i);
                    concise_name.push_str("_");
                }
            }
            concise_name.trim_right_matches("_").to_owned()
        } else {
            self.name.to_owned()
        }
    }
pub fn condensed_member_name ( & self , used_in_table : & Table ) -> String { if self . name . len ( ) > used_in_table . name . len ( ) { let mut concise_name = String :: new ( ) ; let used_in_tablename = used_in_table . clean_name ( ) ; for i in self . name . split ( '_' ) { if used_in_tablename != i { concise_name . push_str ( i ) ; concise_name . push_str ( " " ) ; } } concise_name . trim_right_matches ( " " ) . to_owned ( ) } else { self . name . to_owned ( ) } }
get a condensed name of this table when used in contex with another table
get a condensed name of this table when used in contex with another table
&self
used_in_table
&Table
&self
used_in_table
&Table