public void removeRelationships ( String table ) { try { if ( extendedRelationsDao . isTableExists ( ) ) { List < ExtendedRelation > extendedRelations = extendedRelationsDao . getTableRelations ( table ) ; for ( ExtendedRelation extendedRelation : extendedRelations ) { removeRelationship ( extendedRelation ) ; } } } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to remove relationships for table: " + table , e ) ; } }
Remove all relationships that include the table