pub fn is_primary(&self, column_name: &str) -> bool {
        for p in self.primary_columns() {
            if p.name == column_name {
                return true;
            }
        }
        false
    }
/// check to see if the column is a primary or not
/// the Column.is_primary property is not reliable since it also list down the foreign key
/// which makes it 2 entries in the table
check to see if the column is a primary or not
the Column.is_primary property is not reliable since it also list down the foreign key
which makes it 2 entries in the table
check to see if the column is a primary or not the Column . is_primary property is not reliable since it also list down the foreign key which makes it 2 entries in the table
pub fn is_primary(&self, column_name: &str) -> bool {
        for p in self.primary_columns() {
            if p.name == column_name {
                return true;
            }
        }
        false
    }
pub fn is_primary ( & self , column_name : & str ) -> bool { for p in self . primary_columns ( ) { if p . name == column_name { return true ; } } false }
check to see if the column is a primary or not
the Column.is_primary property is not reliable since it also list down the foreign key
which makes it 2 entries in the table
check to see if the column is a primary or not the Column . is_primary property is not reliable since it also list down the foreign key which makes it 2 entries in the table
&self
column_name
&str
&self
column_name
&str