fn is_owned(&self, tables: &[Table]) -> bool {
        let has_one = self.referred_tables(tables);
        let has_many = self.referring_tables(tables);
        has_one.len() == 1 && has_many.is_empty()
    }
/// determines if the table is owned by some other table
/// say order_line is owned by orders
/// which doesn't make sense to be a stand alone window on its own
/// characteristic: if it has only 1 has_one which is its owning parent table
/// and no other direct or indirect referring table
determines if the table is owned by some other table
say order_line is owned by orders
which doesn't make sense to be a stand alone window on its own
characteristic: if it has only 1 has_one which is its owning parent table
and no other direct or indirect referring table
determines if the table is owned by some other table say order_line is owned by orders which doesn ' t make sense to be a stand alone window on its own characteristic : if it has only 1 has_one which is its owning parent table and no other direct or indirect referring table
fn is_owned(&self, tables: &[Table]) -> bool {
        let has_one = self.referred_tables(tables);
        let has_many = self.referring_tables(tables);
        has_one.len() == 1 && has_many.is_empty()
    }
fn is_owned ( & self , tables : & [ Table ] ) -> bool { let has_one = self . referred_tables ( tables ) ; let has_many = self . referring_tables ( tables ) ; has_one . len ( ) == 1 && has_many . is_empty ( ) }
determines if the table is owned by some other table
say order_line is owned by orders
which doesn't make sense to be a stand alone window on its own
characteristic: if it has only 1 has_one which is its owning parent table
and no other direct or indirect referring table
determines if the table is owned by some other table say order_line is owned by orders which doesn ' t make sense to be a stand alone window on its own characteristic : if it has only 1 has_one which is its owning parent table and no other direct or indirect referring table
&self
tables
&[Table]
&self
tables
&[Table]